Copy+Attentional Convolutional


Original Name incr

incr

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] += value ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] += value ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] += value ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] += value ; } <SENTENCE_END/>


Original Name mul

mul

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] *= value ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] *= value ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] *= value ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; items [ index ] *= value ; } <SENTENCE_END/>


Original Name insert

insert

<SENTENCE_START> { if ( index > size ) throw new index out of bounds exception ( "index can't be > size: " + index + " > " + size ) ; short [ ] items = this . items ; if ( size == items . length ) items = resize ( math . max ( 8 , ( int ) ( size * 1.75f ) ) ) ; if ( ordered ) system . arraycopy ( items , index , items , index + 1 , size - index ) ; else items [ size ] = items [ index ] ; size ++ ; items [ index ] = value ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( index > size ) throw new index out of bounds exception ( "index can't be > size: " + index + " > " + size ) ; short [ ] items = this . items ; if ( size == items . length ) items = resize ( math . max ( 8 , ( int ) ( size * 1.75f ) ) ) ; if ( ordered ) system . arraycopy ( items , index , items , index + 1 , size - index ) ; else items [ size ] = items [ index ] ; size ++ ; items [ index ] = value ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( index > size ) throw new index out of bounds exception ( "index can't be > size: " + index + " > " + size ) ; short [ ] items = this . items ; if ( size == items . length ) items = resize ( math . max ( 8 , ( int ) ( size * 1.75f ) ) ) ; if ( ordered ) system . arraycopy ( items , index , items , index + 1 , size - index ) ; else items [ size ] = items [ index ] ; size ++ ; items [ index ] = value ; } <SENTENCE_END/>

(Copy Probability: 2.5%)

<SENTENCE_START> { if ( index > size ) throw new index out of bounds exception ( "index can't be > size: " + index + " > " + size ) ; short [ ] items = this . items ; if ( size == items . length ) items = resize ( math . max ( 8 , ( int ) ( size * 1.75f ) ) ) ; if ( ordered ) system . arraycopy ( items , index , items , index + 1 , size - index ) ; else items [ size ] = items [ index ] ; size ++ ; items [ index ] = value ; } <SENTENCE_END/>


Original Name swap

swap

<SENTENCE_START> { if ( first >= size ) throw new index out of bounds exception ( "first can't be >= size: " + first + " >= " + size ) ; if ( second >= size ) throw new index out of bounds exception ( "second can't be >= size: " + second + " >= " + size ) ; short [ ] items = this . items ; short first value = items [ first ] ; items [ first ] = items [ second ] ; items [ second ] = first value ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( first >= size ) throw new index out of bounds exception ( "first can't be >= size: " + first + " >= " + size ) ; if ( second >= size ) throw new index out of bounds exception ( "second can't be >= size: " + second + " >= " + size ) ; short [ ] items = this . items ; short first value = items [ first ] ; items [ first ] = items [ second ] ; items [ second ] = first value ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( first >= size ) throw new index out of bounds exception ( "first can't be >= size: " + first + " >= " + size ) ; if ( second >= size ) throw new index out of bounds exception ( "second can't be >= size: " + second + " >= " + size ) ; short [ ] items = this . items ; short first value = items [ first ] ; items [ first ] = items [ second ] ; items [ second ] = first value ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( first >= size ) throw new index out of bounds exception ( "first can't be >= size: " + first + " >= " + size ) ; if ( second >= size ) throw new index out of bounds exception ( "second can't be >= size: " + second + " >= " + size ) ; short [ ] items = this . items ; short first value = items [ first ] ; items [ first ] = items [ second ] ; items [ second ] = first value ; } <SENTENCE_END/>


Original Name contains

contains

<SENTENCE_START> { int i = size - 1 ; short [ ] items = this . items ; while ( i >= 0 ) if ( items [ i -- ] == value ) return true ; return false ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { int i = size - 1 ; short [ ] items = this . items ; while ( i >= 0 ) if ( items [ i -- ] == value ) return true ; return false ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int i = size - 1 ; short [ ] items = this . items ; while ( i >= 0 ) if ( items [ i -- ] == value ) return true ; return false ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { int i = size - 1 ; short [ ] items = this . items ; while ( i >= 0 ) if ( items [ i -- ] == value ) return true ; return false ; } <SENTENCE_END/>


Original Name index,of

index

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

of

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 4.1%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>


Original Name last,index,of

last

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

index

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 3.3%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

of

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>

(Copy Probability: 4.0%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) if ( items [ i ] == value ) return i ; return - 1 ; } <SENTENCE_END/>


Original Name remove,value

remove

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) { if ( items [ i ] == value ) { remove index ( i ) ; return true ; } } return false ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) { if ( items [ i ] == value ) { remove index ( i ) ; return true ; } } return false ; } <SENTENCE_END/>

value

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) { if ( items [ i ] == value ) { remove index ( i ) ; return true ; } } return false ; } <SENTENCE_END/>

(Copy Probability: 4.1%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) { if ( items [ i ] == value ) { remove index ( i ) ; return true ; } } return false ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) { if ( items [ i ] == value ) { remove index ( i ) ; return true ; } } return false ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , n = size ; i < n ; i ++ ) { if ( items [ i ] == value ) { remove index ( i ) ; return true ; } } return false ; } <SENTENCE_END/>


Original Name remove,index

remove

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; short [ ] items = this . items ; short value = items [ index ] ; size -- ; if ( ordered ) system . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; short [ ] items = this . items ; short value = items [ index ] ; size -- ; if ( ordered ) system . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; } <SENTENCE_END/>

index

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; short [ ] items = this . items ; short value = items [ index ] ; size -- ; if ( ordered ) system . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; } <SENTENCE_END/>

(Copy Probability: 6.3%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; short [ ] items = this . items ; short value = items [ index ] ; size -- ; if ( ordered ) system . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; short [ ] items = this . items ; short value = items [ index ] ; size -- ; if ( ordered ) system . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( index >= size ) throw new index out of bounds exception ( "index can't be >= size: " + index + " >= " + size ) ; short [ ] items = this . items ; short value = items [ index ] ; size -- ; if ( ordered ) system . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; } <SENTENCE_END/>


Original Name remove,range

remove

<SENTENCE_START> { if ( end >= size ) throw new index out of bounds exception ( "end can't be >= size: " + end + " >= " + size ) ; if ( start > end ) throw new index out of bounds exception ( "start can't be > end: " + start + " > " + end ) ; short [ ] items = this . items ; int count = end - start + 1 ; if ( ordered ) system . arraycopy ( items , start + count , items , start , size - ( start + count ) ) ; else { int last index = this . size - 1 ; for ( int i = 0 ; i < count ; i ++ ) items [ start + i ] = items [ last index - i ] ; } size -= count ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( end >= size ) throw new index out of bounds exception ( "end can't be >= size: " + end + " >= " + size ) ; if ( start > end ) throw new index out of bounds exception ( "start can't be > end: " + start + " > " + end ) ; short [ ] items = this . items ; int count = end - start + 1 ; if ( ordered ) system . arraycopy ( items , start + count , items , start , size - ( start + count ) ) ; else { int last index = this . size - 1 ; for ( int i = 0 ; i < count ; i ++ ) items [ start + i ] = items [ last index - i ] ; } size -= count ; } <SENTENCE_END/>

range

<SENTENCE_START> { if ( end >= size ) throw new index out of bounds exception ( "end can't be >= size: " + end + " >= " + size ) ; if ( start > end ) throw new index out of bounds exception ( "start can't be > end: " + start + " > " + end ) ; short [ ] items = this . items ; int count = end - start + 1 ; if ( ordered ) system . arraycopy ( items , start + count , items , start , size - ( start + count ) ) ; else { int last index = this . size - 1 ; for ( int i = 0 ; i < count ; i ++ ) items [ start + i ] = items [ last index - i ] ; } size -= count ; } <SENTENCE_END/>

(Copy Probability: 22.3%)

<SENTENCE_START> { if ( end >= size ) throw new index out of bounds exception ( "end can't be >= size: " + end + " >= " + size ) ; if ( start > end ) throw new index out of bounds exception ( "start can't be > end: " + start + " > " + end ) ; short [ ] items = this . items ; int count = end - start + 1 ; if ( ordered ) system . arraycopy ( items , start + count , items , start , size - ( start + count ) ) ; else { int last index = this . size - 1 ; for ( int i = 0 ; i < count ; i ++ ) items [ start + i ] = items [ last index - i ] ; } size -= count ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( end >= size ) throw new index out of bounds exception ( "end can't be >= size: " + end + " >= " + size ) ; if ( start > end ) throw new index out of bounds exception ( "start can't be > end: " + start + " > " + end ) ; short [ ] items = this . items ; int count = end - start + 1 ; if ( ordered ) system . arraycopy ( items , start + count , items , start , size - ( start + count ) ) ; else { int last index = this . size - 1 ; for ( int i = 0 ; i < count ; i ++ ) items [ start + i ] = items [ last index - i ] ; } size -= count ; } <SENTENCE_END/>

(Copy Probability: 3.3%)

<SENTENCE_START> { if ( end >= size ) throw new index out of bounds exception ( "end can't be >= size: " + end + " >= " + size ) ; if ( start > end ) throw new index out of bounds exception ( "start can't be > end: " + start + " > " + end ) ; short [ ] items = this . items ; int count = end - start + 1 ; if ( ordered ) system . arraycopy ( items , start + count , items , start , size - ( start + count ) ) ; else { int last index = this . size - 1 ; for ( int i = 0 ; i < count ; i ++ ) items [ start + i ] = items [ last index - i ] ; } size -= count ; } <SENTENCE_END/>


Original Name remove,all

remove

<SENTENCE_START> { int size = this . size ; int start size = size ; short [ ] items = this . items ; for ( int i = 0 , n = array . size ; i < n ; i ++ ) { short item = array . get ( i ) ; for ( int ii = 0 ; ii < size ; ii ++ ) { if ( item == items [ ii ] ) { remove index ( ii ) ; size -- ; break ; } } } return size != start size ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { int size = this . size ; int start size = size ; short [ ] items = this . items ; for ( int i = 0 , n = array . size ; i < n ; i ++ ) { short item = array . get ( i ) ; for ( int ii = 0 ; ii < size ; ii ++ ) { if ( item == items [ ii ] ) { remove index ( ii ) ; size -- ; break ; } } } return size != start size ; } <SENTENCE_END/>

all

<SENTENCE_START> { int size = this . size ; int start size = size ; short [ ] items = this . items ; for ( int i = 0 , n = array . size ; i < n ; i ++ ) { short item = array . get ( i ) ; for ( int ii = 0 ; ii < size ; ii ++ ) { if ( item == items [ ii ] ) { remove index ( ii ) ; size -- ; break ; } } } return size != start size ; } <SENTENCE_END/>

(Copy Probability: 42.7%)

<SENTENCE_START> { int size = this . size ; int start size = size ; short [ ] items = this . items ; for ( int i = 0 , n = array . size ; i < n ; i ++ ) { short item = array . get ( i ) ; for ( int ii = 0 ; ii < size ; ii ++ ) { if ( item == items [ ii ] ) { remove index ( ii ) ; size -- ; break ; } } } return size != start size ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int size = this . size ; int start size = size ; short [ ] items = this . items ; for ( int i = 0 , n = array . size ; i < n ; i ++ ) { short item = array . get ( i ) ; for ( int ii = 0 ; ii < size ; ii ++ ) { if ( item == items [ ii ] ) { remove index ( ii ) ; size -- ; break ; } } } return size != start size ; } <SENTENCE_END/>

(Copy Probability: 17.5%)

<SENTENCE_START> { int size = this . size ; int start size = size ; short [ ] items = this . items ; for ( int i = 0 , n = array . size ; i < n ; i ++ ) { short item = array . get ( i ) ; for ( int ii = 0 ; ii < size ; ii ++ ) { if ( item == items [ ii ] ) { remove index ( ii ) ; size -- ; break ; } } } return size != start size ; } <SENTENCE_END/>


Original Name pop

pop

<SENTENCE_START> { return items [ -- size ] ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return items [ -- size ] ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return items [ -- size ] ; } <SENTENCE_END/>

(Copy Probability: 2.6%)

<SENTENCE_START> { return items [ -- size ] ; } <SENTENCE_END/>


Original Name peek

peek

<SENTENCE_START> { return items [ size - 1 ] ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return items [ size - 1 ] ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return items [ size - 1 ] ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { return items [ size - 1 ] ; } <SENTENCE_END/>


Original Name first

first

<SENTENCE_START> { if ( size == 0 ) throw new illegal state exception ( "Array is empty." ) ; return items [ 0 ] ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( size == 0 ) throw new illegal state exception ( "Array is empty." ) ; return items [ 0 ] ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( size == 0 ) throw new illegal state exception ( "Array is empty." ) ; return items [ 0 ] ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { if ( size == 0 ) throw new illegal state exception ( "Array is empty." ) ; return items [ 0 ] ; } <SENTENCE_END/>


Original Name clear

clear

<SENTENCE_START> { size = 0 ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { size = 0 ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { size = 0 ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { size = 0 ; } <SENTENCE_END/>


Original Name shrink

shrink

<SENTENCE_START> { if ( items . length != size ) resize ( size ) ; return items ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( items . length != size ) resize ( size ) ; return items ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( items . length != size ) resize ( size ) ; return items ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( items . length != size ) resize ( size ) ; return items ; } <SENTENCE_END/>


Original Name ensure,capacity

ensure

<SENTENCE_START> { int size needed = size + additional capacity ; if ( size needed > items . length ) resize ( math . max ( 8 , size needed ) ) ; return items ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { int size needed = size + additional capacity ; if ( size needed > items . length ) resize ( math . max ( 8 , size needed ) ) ; return items ; } <SENTENCE_END/>

capacity

<SENTENCE_START> { int size needed = size + additional capacity ; if ( size needed > items . length ) resize ( math . max ( 8 , size needed ) ) ; return items ; } <SENTENCE_END/>

(Copy Probability: 79.3%)

<SENTENCE_START> { int size needed = size + additional capacity ; if ( size needed > items . length ) resize ( math . max ( 8 , size needed ) ) ; return items ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int size needed = size + additional capacity ; if ( size needed > items . length ) resize ( math . max ( 8 , size needed ) ) ; return items ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { int size needed = size + additional capacity ; if ( size needed > items . length ) resize ( math . max ( 8 , size needed ) ) ; return items ; } <SENTENCE_END/>


Original Name resize

resize

<SENTENCE_START> { short [ ] new items = new short [ new size ] ; short [ ] items = this . items ; system . arraycopy ( items , 0 , new items , 0 , math . min ( size , new items . length ) ) ; this . items = new items ; return new items ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { short [ ] new items = new short [ new size ] ; short [ ] items = this . items ; system . arraycopy ( items , 0 , new items , 0 , math . min ( size , new items . length ) ) ; this . items = new items ; return new items ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] new items = new short [ new size ] ; short [ ] items = this . items ; system . arraycopy ( items , 0 , new items , 0 , math . min ( size , new items . length ) ) ; this . items = new items ; return new items ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { short [ ] new items = new short [ new size ] ; short [ ] items = this . items ; system . arraycopy ( items , 0 , new items , 0 , math . min ( size , new items . length ) ) ; this . items = new items ; return new items ; } <SENTENCE_END/>


Original Name sort

sort

<SENTENCE_START> { arrays . %SELF% ( items , 0 , size ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { arrays . %SELF% ( items , 0 , size ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { arrays . %SELF% ( items , 0 , size ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { arrays . %SELF% ( items , 0 , size ) ; } <SENTENCE_END/>


Original Name reverse

reverse

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , last index = size - 1 , n = size / 2 ; i < n ; i ++ ) { int ii = last index - i ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , last index = size - 1 , n = size / 2 ; i < n ; i ++ ) { int ii = last index - i ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , last index = size - 1 , n = size / 2 ; i < n ; i ++ ) { int ii = last index - i ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = 0 , last index = size - 1 , n = size / 2 ; i < n ; i ++ ) { int ii = last index - i ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>


Original Name shuffle

shuffle

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) { int ii = math utils . random ( i ) ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) { int ii = math utils . random ( i ) ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) { int ii = math utils . random ( i ) ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { short [ ] items = this . items ; for ( int i = size - 1 ; i >= 0 ; i -- ) { int ii = math utils . random ( i ) ; short temp = items [ i ] ; items [ i ] = items [ ii ] ; items [ ii ] = temp ; } } <SENTENCE_END/>


Original Name truncate

truncate

<SENTENCE_START> { if ( size > new size ) size = new size ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( size > new size ) size = new size ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( size > new size ) size = new size ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( size > new size ) size = new size ; } <SENTENCE_END/>


Original Name random

random

<SENTENCE_START> { if ( size == 0 ) return 0 ; return items [ math utils . %SELF% ( 0 , size - 1 ) ] ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( size == 0 ) return 0 ; return items [ math utils . %SELF% ( 0 , size - 1 ) ] ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( size == 0 ) return 0 ; return items [ math utils . %SELF% ( 0 , size - 1 ) ] ; } <SENTENCE_END/>

(Copy Probability: 8.0%)

<SENTENCE_START> { if ( size == 0 ) return 0 ; return items [ math utils . %SELF% ( 0 , size - 1 ) ] ; } <SENTENCE_END/>


Original Name to,array

to

<SENTENCE_START> { short [ ] array = new short [ size ] ; system . arraycopy ( items , 0 , array , 0 , size ) ; return array ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { short [ ] array = new short [ size ] ; system . arraycopy ( items , 0 , array , 0 , size ) ; return array ; } <SENTENCE_END/>

array

<SENTENCE_START> { short [ ] array = new short [ size ] ; system . arraycopy ( items , 0 , array , 0 , size ) ; return array ; } <SENTENCE_END/>

(Copy Probability: 5.4%)

<SENTENCE_START> { short [ ] array = new short [ size ] ; system . arraycopy ( items , 0 , array , 0 , size ) ; return array ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { short [ ] array = new short [ size ] ; system . arraycopy ( items , 0 , array , 0 , size ) ; return array ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { short [ ] array = new short [ size ] ; system . arraycopy ( items , 0 , array , 0 , size ) ; return array ; } <SENTENCE_END/>


Original Name to,string

to

<SENTENCE_START> { if ( size == 0 ) return "" ; short [ ] items = this . items ; string builder buffer = new string builder ( 32 ) ; buffer . append ( items [ 0 ] ) ; for ( int i = 1 ; i < size ; i ++ ) { buffer . append ( separator ) ; buffer . append ( items [ i ] ) ; } return buffer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( size == 0 ) return "" ; short [ ] items = this . items ; string builder buffer = new string builder ( 32 ) ; buffer . append ( items [ 0 ] ) ; for ( int i = 1 ; i < size ; i ++ ) { buffer . append ( separator ) ; buffer . append ( items [ i ] ) ; } return buffer . %SELF% ( ) ; } <SENTENCE_END/>

string

<SENTENCE_START> { if ( size == 0 ) return "" ; short [ ] items = this . items ; string builder buffer = new string builder ( 32 ) ; buffer . append ( items [ 0 ] ) ; for ( int i = 1 ; i < size ; i ++ ) { buffer . append ( separator ) ; buffer . append ( items [ i ] ) ; } return buffer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 36.2%)

<SENTENCE_START> { if ( size == 0 ) return "" ; short [ ] items = this . items ; string builder buffer = new string builder ( 32 ) ; buffer . append ( items [ 0 ] ) ; for ( int i = 1 ; i < size ; i ++ ) { buffer . append ( separator ) ; buffer . append ( items [ i ] ) ; } return buffer . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( size == 0 ) return "" ; short [ ] items = this . items ; string builder buffer = new string builder ( 32 ) ; buffer . append ( items [ 0 ] ) ; for ( int i = 1 ; i < size ; i ++ ) { buffer . append ( separator ) ; buffer . append ( items [ i ] ) ; } return buffer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( size == 0 ) return "" ; short [ ] items = this . items ; string builder buffer = new string builder ( 32 ) ; buffer . append ( items [ 0 ] ) ; for ( int i = 1 ; i < size ; i ++ ) { buffer . append ( separator ) ; buffer . append ( items [ i ] ) ; } return buffer . %SELF% ( ) ; } <SENTENCE_END/>


Original Name with

with

<SENTENCE_START> { return new short array ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return new short array ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new short array ( array ) ; } <SENTENCE_END/>

(Copy Probability: 4.7%)

<SENTENCE_START> { return new short array ( array ) ; } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>


Original Name act

act

<SENTENCE_START> { if ( capture ) target . remove capture listener ( listener ) ; else target . remove listener ( listener ) ; return true ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { if ( capture ) target . remove capture listener ( listener ) ; else target . remove listener ( listener ) ; return true ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( capture ) target . remove capture listener ( listener ) ; else target . remove listener ( listener ) ; return true ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( capture ) target . remove capture listener ( listener ) ; else target . remove listener ( listener ) ; return true ; } <SENTENCE_END/>


Original Name get,listener

get

<SENTENCE_START> { return listener ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return listener ; } <SENTENCE_END/>

listener

<SENTENCE_START> { return listener ; } <SENTENCE_END/>

(Copy Probability: 38.3%)

<SENTENCE_START> { return listener ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return listener ; } <SENTENCE_END/>

(Copy Probability: 12.2%)

<SENTENCE_START> { return listener ; } <SENTENCE_END/>


Original Name set,listener

set

<SENTENCE_START> { this . listener = listener ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . listener = listener ; } <SENTENCE_END/>

listener

<SENTENCE_START> { this . listener = listener ; } <SENTENCE_END/>

(Copy Probability: 72.2%)

<SENTENCE_START> { this . listener = listener ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . listener = listener ; } <SENTENCE_END/>

(Copy Probability: 18.5%)

<SENTENCE_START> { this . listener = listener ; } <SENTENCE_END/>


Original Name get,capture

get

<SENTENCE_START> { return capture ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return capture ; } <SENTENCE_END/>

capture

<SENTENCE_START> { return capture ; } <SENTENCE_END/>

(Copy Probability: 90.9%)

<SENTENCE_START> { return capture ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return capture ; } <SENTENCE_END/>

(Copy Probability: 11.0%)

<SENTENCE_START> { return capture ; } <SENTENCE_END/>


Original Name set,capture

set

<SENTENCE_START> { this . capture = capture ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { this . capture = capture ; } <SENTENCE_END/>

capture

<SENTENCE_START> { this . capture = capture ; } <SENTENCE_END/>

(Copy Probability: 94.9%)

<SENTENCE_START> { this . capture = capture ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . capture = capture ; } <SENTENCE_END/>

(Copy Probability: 6.8%)

<SENTENCE_START> { this . capture = capture ; } <SENTENCE_END/>


Original Name reset

reset

<SENTENCE_START> { super . %SELF% ( ) ; listener = null ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { super . %SELF% ( ) ; listener = null ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { super . %SELF% ( ) ; listener = null ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { super . %SELF% ( ) ; listener = null ; } <SENTENCE_END/>


Original Name put

put

<SENTENCE_START> { latest = value ; total += value ; count ++ ; average = total / count ; if ( mean != null ) { mean . add value ( value ) ; this . value = mean . get mean ( ) ; } else this . value = latest ; if ( mean == null || mean . has enough data ( ) ) { if ( this . value < min ) min = this . value ; if ( this . value > max ) max = this . value ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { latest = value ; total += value ; count ++ ; average = total / count ; if ( mean != null ) { mean . add value ( value ) ; this . value = mean . get mean ( ) ; } else this . value = latest ; if ( mean == null || mean . has enough data ( ) ) { if ( this . value < min ) min = this . value ; if ( this . value > max ) max = this . value ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { latest = value ; total += value ; count ++ ; average = total / count ; if ( mean != null ) { mean . add value ( value ) ; this . value = mean . get mean ( ) ; } else this . value = latest ; if ( mean == null || mean . has enough data ( ) ) { if ( this . value < min ) min = this . value ; if ( this . value > max ) max = this . value ; } } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { latest = value ; total += value ; count ++ ; average = total / count ; if ( mean != null ) { mean . add value ( value ) ; this . value = mean . get mean ( ) ; } else this . value = latest ; if ( mean == null || mean . has enough data ( ) ) { if ( this . value < min ) min = this . value ; if ( this . value > max ) max = this . value ; } } <SENTENCE_END/>


Original Name reset

reset

<SENTENCE_START> { count = 0 ; total = 0f ; min = float . max value ; max = float . min value ; average = 0f ; latest = 0f ; value = 0f ; if ( mean != null ) mean . clear ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { count = 0 ; total = 0f ; min = float . max value ; max = float . min value ; average = 0f ; latest = 0f ; value = 0f ; if ( mean != null ) mean . clear ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { count = 0 ; total = 0f ; min = float . max value ; max = float . min value ; average = 0f ; latest = 0f ; value = 0f ; if ( mean != null ) mean . clear ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.9%)

<SENTENCE_START> { count = 0 ; total = 0f ; min = float . max value ; max = float . min value ; average = 0f ; latest = 0f ; value = 0f ; if ( mean != null ) mean . clear ( ) ; } <SENTENCE_END/>


Original Name select

select

<SENTENCE_START> { this . array = items ; this . comp = comp ; return recursive select ( 0 , size - 1 , n ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { this . array = items ; this . comp = comp ; return recursive select ( 0 , size - 1 , n ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . array = items ; this . comp = comp ; return recursive select ( 0 , size - 1 , n ) ; } <SENTENCE_END/>

(Copy Probability: 2.0%)

<SENTENCE_START> { this . array = items ; this . comp = comp ; return recursive select ( 0 , size - 1 , n ) ; } <SENTENCE_END/>


Original Name partition

partition

<SENTENCE_START> { t pivot value = array [ pivot ] ; swap ( right , pivot ) ; int storage = left ; for ( int i = left ; i < right ; i ++ ) { if ( comp . compare ( array [ i ] , pivot value ) < 0 ) { swap ( storage , i ) ; storage ++ ; } } swap ( right , storage ) ; return storage ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { t pivot value = array [ pivot ] ; swap ( right , pivot ) ; int storage = left ; for ( int i = left ; i < right ; i ++ ) { if ( comp . compare ( array [ i ] , pivot value ) < 0 ) { swap ( storage , i ) ; storage ++ ; } } swap ( right , storage ) ; return storage ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { t pivot value = array [ pivot ] ; swap ( right , pivot ) ; int storage = left ; for ( int i = left ; i < right ; i ++ ) { if ( comp . compare ( array [ i ] , pivot value ) < 0 ) { swap ( storage , i ) ; storage ++ ; } } swap ( right , storage ) ; return storage ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { t pivot value = array [ pivot ] ; swap ( right , pivot ) ; int storage = left ; for ( int i = left ; i < right ; i ++ ) { if ( comp . compare ( array [ i ] , pivot value ) < 0 ) { swap ( storage , i ) ; storage ++ ; } } swap ( right , storage ) ; return storage ; } <SENTENCE_END/>


Original Name recursive,select

recursive

<SENTENCE_START> { if ( left == right ) return left ; int pivot index = median of three pivot ( left , right ) ; int pivot new index = partition ( left , right , pivot index ) ; int pivot dist = ( pivot new index - left ) + 1 ; int result ; if ( pivot dist == k ) { result = pivot new index ; } else if ( k < pivot dist ) { result = %SELF% ( left , pivot new index - 1 , k ) ; } else { result = %SELF% ( pivot new index + 1 , right , k - pivot dist ) ; } return result ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( left == right ) return left ; int pivot index = median of three pivot ( left , right ) ; int pivot new index = partition ( left , right , pivot index ) ; int pivot dist = ( pivot new index - left ) + 1 ; int result ; if ( pivot dist == k ) { result = pivot new index ; } else if ( k < pivot dist ) { result = %SELF% ( left , pivot new index - 1 , k ) ; } else { result = %SELF% ( pivot new index + 1 , right , k - pivot dist ) ; } return result ; } <SENTENCE_END/>

select

<SENTENCE_START> { if ( left == right ) return left ; int pivot index = median of three pivot ( left , right ) ; int pivot new index = partition ( left , right , pivot index ) ; int pivot dist = ( pivot new index - left ) + 1 ; int result ; if ( pivot dist == k ) { result = pivot new index ; } else if ( k < pivot dist ) { result = %SELF% ( left , pivot new index - 1 , k ) ; } else { result = %SELF% ( pivot new index + 1 , right , k - pivot dist ) ; } return result ; } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { if ( left == right ) return left ; int pivot index = median of three pivot ( left , right ) ; int pivot new index = partition ( left , right , pivot index ) ; int pivot dist = ( pivot new index - left ) + 1 ; int result ; if ( pivot dist == k ) { result = pivot new index ; } else if ( k < pivot dist ) { result = %SELF% ( left , pivot new index - 1 , k ) ; } else { result = %SELF% ( pivot new index + 1 , right , k - pivot dist ) ; } return result ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( left == right ) return left ; int pivot index = median of three pivot ( left , right ) ; int pivot new index = partition ( left , right , pivot index ) ; int pivot dist = ( pivot new index - left ) + 1 ; int result ; if ( pivot dist == k ) { result = pivot new index ; } else if ( k < pivot dist ) { result = %SELF% ( left , pivot new index - 1 , k ) ; } else { result = %SELF% ( pivot new index + 1 , right , k - pivot dist ) ; } return result ; } <SENTENCE_END/>

(Copy Probability: 5.0%)

<SENTENCE_START> { if ( left == right ) return left ; int pivot index = median of three pivot ( left , right ) ; int pivot new index = partition ( left , right , pivot index ) ; int pivot dist = ( pivot new index - left ) + 1 ; int result ; if ( pivot dist == k ) { result = pivot new index ; } else if ( k < pivot dist ) { result = %SELF% ( left , pivot new index - 1 , k ) ; } else { result = %SELF% ( pivot new index + 1 , right , k - pivot dist ) ; } return result ; } <SENTENCE_END/>


Original Name median,of,three,pivot

median

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

of

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

three

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

(Copy Probability: 11.1%)

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

pivot

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

(Copy Probability: 5.4%)

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>

(Copy Probability: 61.8%)

<SENTENCE_START> { t left = array [ left idx ] ; int mid idx = ( left idx + right idx ) / 2 ; t mid = array [ mid idx ] ; t right = array [ right idx ] ; if ( comp . compare ( left , mid ) > 0 ) { if ( comp . compare ( mid , right ) > 0 ) { return mid idx ; } else if ( comp . compare ( left , right ) > 0 ) { return right idx ; } else { return left idx ; } } else { if ( comp . compare ( left , right ) > 0 ) { return left idx ; } else if ( comp . compare ( mid , right ) > 0 ) { return right idx ; } else { return mid idx ; } } } <SENTENCE_END/>


Original Name swap

swap

<SENTENCE_START> { t tmp = array [ left ] ; array [ left ] = array [ right ] ; array [ right ] = tmp ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { t tmp = array [ left ] ; array [ left ] = array [ right ] ; array [ right ] = tmp ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { t tmp = array [ left ] ; array [ left ] = array [ right ] ; array [ right ] = tmp ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { t tmp = array [ left ] ; array [ left ] = array [ right ] ; array [ right ] = tmp ; } <SENTENCE_END/>


Original Name capacity

capacity

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>


Original Name clear

clear

<SENTENCE_START> { position = 0 ; mark = unset mark ; limit = capacity ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { position = 0 ; mark = unset mark ; limit = capacity ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { position = 0 ; mark = unset mark ; limit = capacity ; return this ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { position = 0 ; mark = unset mark ; limit = capacity ; return this ; } <SENTENCE_END/>


Original Name flip

flip

<SENTENCE_START> { limit = position ; position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { limit = position ; position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { limit = position ; position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>

(Copy Probability: 2.5%)

<SENTENCE_START> { limit = position ; position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>


Original Name has,remaining

has

<SENTENCE_START> { return position < limit ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return position < limit ; } <SENTENCE_END/>

remaining

<SENTENCE_START> { return position < limit ; } <SENTENCE_END/>

(Copy Probability: 20.8%)

<SENTENCE_START> { return position < limit ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return position < limit ; } <SENTENCE_END/>

(Copy Probability: 7.7%)

<SENTENCE_START> { return position < limit ; } <SENTENCE_END/>


Original Name limit

limit

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>


Original Name limit

limit

<SENTENCE_START> { if ( new limit < 0 || new limit > capacity ) { throw new illegal argument exception ( ) ; } %SELF% = new limit ; if ( position > new limit ) { position = new limit ; } if ( ( mark != unset mark ) && ( mark > new limit ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( new limit < 0 || new limit > capacity ) { throw new illegal argument exception ( ) ; } %SELF% = new limit ; if ( position > new limit ) { position = new limit ; } if ( ( mark != unset mark ) && ( mark > new limit ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( new limit < 0 || new limit > capacity ) { throw new illegal argument exception ( ) ; } %SELF% = new limit ; if ( position > new limit ) { position = new limit ; } if ( ( mark != unset mark ) && ( mark > new limit ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { if ( new limit < 0 || new limit > capacity ) { throw new illegal argument exception ( ) ; } %SELF% = new limit ; if ( position > new limit ) { position = new limit ; } if ( ( mark != unset mark ) && ( mark > new limit ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>


Original Name mark

mark

<SENTENCE_START> { %SELF% = position ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { %SELF% = position ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% = position ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { %SELF% = position ; return this ; } <SENTENCE_END/>


Original Name position

position

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>


Original Name position

position

<SENTENCE_START> { if ( new position < 0 || new position > limit ) { throw new illegal argument exception ( ) ; } %SELF% = new position ; if ( ( mark != unset mark ) && ( mark > %SELF% ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( new position < 0 || new position > limit ) { throw new illegal argument exception ( ) ; } %SELF% = new position ; if ( ( mark != unset mark ) && ( mark > %SELF% ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( new position < 0 || new position > limit ) { throw new illegal argument exception ( ) ; } %SELF% = new position ; if ( ( mark != unset mark ) && ( mark > %SELF% ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( new position < 0 || new position > limit ) { throw new illegal argument exception ( ) ; } %SELF% = new position ; if ( ( mark != unset mark ) && ( mark > %SELF% ) ) { mark = unset mark ; } return this ; } <SENTENCE_END/>


Original Name remaining

remaining

<SENTENCE_START> { return limit - position ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return limit - position ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return limit - position ; } <SENTENCE_END/>

(Copy Probability: 1.9%)

<SENTENCE_START> { return limit - position ; } <SENTENCE_END/>


Original Name reset

reset

<SENTENCE_START> { if ( mark == unset mark ) { throw new invalid mark exception ( ) ; } position = mark ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( mark == unset mark ) { throw new invalid mark exception ( ) ; } position = mark ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( mark == unset mark ) { throw new invalid mark exception ( ) ; } position = mark ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( mark == unset mark ) { throw new invalid mark exception ( ) ; } position = mark ; return this ; } <SENTENCE_END/>


Original Name rewind

rewind

<SENTENCE_START> { position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { position = 0 ; mark = unset mark ; return this ; } <SENTENCE_END/>


Original Name act

act

<SENTENCE_START> { if ( index >= actions . size ) return true ; pool pool = get pool ( ) ; set pool ( null ) ; try { if ( actions . get ( index ) . %SELF% ( delta ) ) { if ( actor == null ) return true ; index ++ ; if ( index >= actions . size ) return true ; } return false ; } finally { set pool ( pool ) ; } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( index >= actions . size ) return true ; pool pool = get pool ( ) ; set pool ( null ) ; try { if ( actions . get ( index ) . %SELF% ( delta ) ) { if ( actor == null ) return true ; index ++ ; if ( index >= actions . size ) return true ; } return false ; } finally { set pool ( pool ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( index >= actions . size ) return true ; pool pool = get pool ( ) ; set pool ( null ) ; try { if ( actions . get ( index ) . %SELF% ( delta ) ) { if ( actor == null ) return true ; index ++ ; if ( index >= actions . size ) return true ; } return false ; } finally { set pool ( pool ) ; } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( index >= actions . size ) return true ; pool pool = get pool ( ) ; set pool ( null ) ; try { if ( actions . get ( index ) . %SELF% ( delta ) ) { if ( actor == null ) return true ; index ++ ; if ( index >= actions . size ) return true ; } return false ; } finally { set pool ( pool ) ; } } <SENTENCE_END/>


Original Name restart

restart

<SENTENCE_START> { super . %SELF% ( ) ; index = 0 ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { super . %SELF% ( ) ; index = 0 ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { super . %SELF% ( ) ; index = 0 ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { super . %SELF% ( ) ; index = 0 ; } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>


Original Name set,collision,shape,data

set

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

collision

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

shape

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

data

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 71.6%)

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { collision jni . bt compound shape data collision shape data set ( swig c ptr , this , bt collision shape data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>


Original Name get,collision,shape,data

get

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

collision

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.0%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

shape

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

data

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 68.0%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data collision shape data get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt collision shape data ( c ptr , false ) ; } <SENTENCE_END/>


Original Name set,child,shape,ptr

set

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

child

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

shape

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 55.9%)

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { collision jni . bt compound shape data child shape ptr set ( swig c ptr , this , bt compound shape child data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>


Original Name get,child,shape,ptr

get

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

child

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.5%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

shape

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.7%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 57.4%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { long c ptr = collision jni . bt compound shape data child shape ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt compound shape child data ( c ptr , false ) ; } <SENTENCE_END/>


Original Name set,num,child,shapes

set

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

num

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

child

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

shapes

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 62.2%)

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 25.6%)

<SENTENCE_START> { collision jni . bt compound shape data num child shapes set ( swig c ptr , this , value ) ; } <SENTENCE_END/>


Original Name get,num,child,shapes

get

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

num

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

child

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

shapes

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 63.5%)

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 26.0%)

<SENTENCE_START> { return collision jni . bt compound shape data num child shapes get ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name set,collision,margin

set

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

collision

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

margin

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { collision jni . bt compound shape data collision margin set ( swig c ptr , this , value ) ; } <SENTENCE_END/>


Original Name get,collision,margin

get

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

collision

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

margin

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return collision jni . bt compound shape data collision margin get ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>


Original Name set,low,level,of,detail

set

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

(Copy Probability: 3.2%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

low

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

(Copy Probability: 99.7%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

level

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

of

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

(Copy Probability: 58.6%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

detail

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

(Copy Probability: 97.9%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>

(Copy Probability: 58.7%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm set low level of detail ( swig c ptr , this , use low level ) ; } <SENTENCE_END/>


Original Name get,manifold

get

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm get manifold ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt persistent manifold ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 3.4%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm get manifold ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt persistent manifold ( c ptr , false ) ; } <SENTENCE_END/>

manifold

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm get manifold ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt persistent manifold ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.3%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm get manifold ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt persistent manifold ( c ptr , false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm get manifold ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt persistent manifold ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 56.1%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm get manifold ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt persistent manifold ( c ptr , false ) ; } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>


Original Name set,pd,solver

set

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 6.3%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

pd

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

solver

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func pd solver set ( swig c ptr , this , bt convex penetration depth solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>


Original Name get,pd,solver

get

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 5.2%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

pd

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.7%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

solver

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func pd solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt convex penetration depth solver ( c ptr , false ) ; } <SENTENCE_END/>


Original Name set,simplex,solver

set

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 5.4%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

simplex

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

solver

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 47.2%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver set ( swig c ptr , this , bt voronoi simplex solver . get c ptr ( value ) , value ) ; } <SENTENCE_END/>


Original Name get,simplex,solver

get

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 4.7%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

simplex

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

solver

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 54.7%)

<SENTENCE_START> { long c ptr = collision jni . bt convex 2 d convex 2 d algorithm create func simplex solver get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt voronoi simplex solver ( c ptr , false ) ; } <SENTENCE_END/>


Original Name set,num,perturbation,iterations

set

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 6.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

num

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

perturbation

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

iterations

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations set ( swig c ptr , this , value ) ; } <SENTENCE_END/>


Original Name get,num,perturbation,iterations

get

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 5.9%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

num

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

perturbation

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

iterations

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func num perturbation iterations get ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name set,minimum,points,perturbation,threshold

set

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 5.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

minimum

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

points

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

perturbation

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

threshold

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold set ( swig c ptr , this , value ) ; } <SENTENCE_END/>


Original Name get,minimum,points,perturbation,threshold

get

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 4.9%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

minimum

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

points

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

perturbation

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

threshold

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { return collision jni . bt convex 2 d convex 2 d algorithm create func minimum points perturbation threshold get ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name set

set

<SENTENCE_START> { world transform . %SELF% ( renderable . world transform ) ; material = renderable . material ; mesh = renderable . mesh ; mesh part offset = renderable . mesh part offset ; mesh part size = renderable . mesh part size ; primitive type = renderable . primitive type ; bones = renderable . bones ; environment = renderable . environment ; shader = renderable . shader ; user data = renderable . user data ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { world transform . %SELF% ( renderable . world transform ) ; material = renderable . material ; mesh = renderable . mesh ; mesh part offset = renderable . mesh part offset ; mesh part size = renderable . mesh part size ; primitive type = renderable . primitive type ; bones = renderable . bones ; environment = renderable . environment ; shader = renderable . shader ; user data = renderable . user data ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { world transform . %SELF% ( renderable . world transform ) ; material = renderable . material ; mesh = renderable . mesh ; mesh part offset = renderable . mesh part offset ; mesh part size = renderable . mesh part size ; primitive type = renderable . primitive type ; bones = renderable . bones ; environment = renderable . environment ; shader = renderable . shader ; user data = renderable . user data ; return this ; } <SENTENCE_END/>

(Copy Probability: 66.8%)

<SENTENCE_START> { world transform . %SELF% ( renderable . world transform ) ; material = renderable . material ; mesh = renderable . mesh ; mesh part offset = renderable . mesh part offset ; mesh part size = renderable . mesh part size ; primitive type = renderable . primitive type ; bones = renderable . bones ; environment = renderable . environment ; shader = renderable . shader ; user data = renderable . user data ; return this ; } <SENTENCE_END/>


Original Name load

load

<SENTENCE_START> { return %SELF% ( file name , new atlas tiled map loader parameters ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return %SELF% ( file name , new atlas tiled map loader parameters ( ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ( file name , new atlas tiled map loader parameters ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 15.4%)

<SENTENCE_START> { return %SELF% ( file name , new atlas tiled map loader parameters ( ) ) ; } <SENTENCE_END/>


Original Name load

load

<SENTENCE_START> { try { if ( parameter != null ) { convert object to tile space = parameter . convert object to tile space ; } else { convert object to tile space = false ; } file handle tmx file = resolve ( file name ) ; root = xml . parse ( tmx file ) ; object map < string , texture atlas > atlases = new object map < string , texture atlas > ( ) ; file handle atlas file = load atlas ( root , tmx file ) ; if ( atlas file == null ) { throw new gdx runtime exception ( "Couldn't load atlas" ) ; } texture atlas atlas = new texture atlas ( atlas file ) ; atlases . put ( atlas file . path ( ) , atlas ) ; atlas resolver . direct atlas resolver atlas resolver = new atlas resolver . direct atlas resolver ( atlases ) ; tiled map map = load map ( root , tmx file , atlas resolver ) ; map . set owned resources ( atlases . values ( ) . to array ( ) ) ; set texture filters ( parameter . texture min filter , parameter . texture mag filter ) ; return map ; } catch ( io exception e ) { throw new gdx runtime exception ( "Couldn't load tilemap '" + file name + "'" , e ) ; } } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { try { if ( parameter != null ) { convert object to tile space = parameter . convert object to tile space ; } else { convert object to tile space = false ; } file handle tmx file = resolve ( file name ) ; root = xml . parse ( tmx file ) ; object map < string , texture atlas > atlases = new object map < string , texture atlas > ( ) ; file handle atlas file = load atlas ( root , tmx file ) ; if ( atlas file == null ) { throw new gdx runtime exception ( "Couldn't load atlas" ) ; } texture atlas atlas = new texture atlas ( atlas file ) ; atlases . put ( atlas file . path ( ) , atlas ) ; atlas resolver . direct atlas resolver atlas resolver = new atlas resolver . direct atlas resolver ( atlases ) ; tiled map map = load map ( root , tmx file , atlas resolver ) ; map . set owned resources ( atlases . values ( ) . to array ( ) ) ; set texture filters ( parameter . texture min filter , parameter . texture mag filter ) ; return map ; } catch ( io exception e ) { throw new gdx runtime exception ( "Couldn't load tilemap '" + file name + "'" , e ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { try { if ( parameter != null ) { convert object to tile space = parameter . convert object to tile space ; } else { convert object to tile space = false ; } file handle tmx file = resolve ( file name ) ; root = xml . parse ( tmx file ) ; object map < string , texture atlas > atlases = new object map < string , texture atlas > ( ) ; file handle atlas file = load atlas ( root , tmx file ) ; if ( atlas file == null ) { throw new gdx runtime exception ( "Couldn't load atlas" ) ; } texture atlas atlas = new texture atlas ( atlas file ) ; atlases . put ( atlas file . path ( ) , atlas ) ; atlas resolver . direct atlas resolver atlas resolver = new atlas resolver . direct atlas resolver ( atlases ) ; tiled map map = load map ( root , tmx file , atlas resolver ) ; map . set owned resources ( atlases . values ( ) . to array ( ) ) ; set texture filters ( parameter . texture min filter , parameter . texture mag filter ) ; return map ; } catch ( io exception e ) { throw new gdx runtime exception ( "Couldn't load tilemap '" + file name + "'" , e ) ; } } <SENTENCE_END/>

(Copy Probability: 28.9%)

<SENTENCE_START> { try { if ( parameter != null ) { convert object to tile space = parameter . convert object to tile space ; } else { convert object to tile space = false ; } file handle tmx file = resolve ( file name ) ; root = xml . parse ( tmx file ) ; object map < string , texture atlas > atlases = new object map < string , texture atlas > ( ) ; file handle atlas file = load atlas ( root , tmx file ) ; if ( atlas file == null ) { throw new gdx runtime exception ( "Couldn't load atlas" ) ; } texture atlas atlas = new texture atlas ( atlas file ) ; atlases . put ( atlas file . path ( ) , atlas ) ; atlas resolver . direct atlas resolver atlas resolver = new atlas resolver . direct atlas resolver ( atlases ) ; tiled map map = load map ( root , tmx file , atlas resolver ) ; map . set owned resources ( atlases . values ( ) . to array ( ) ) ; set texture filters ( parameter . texture min filter , parameter . texture mag filter ) ; return map ; } catch ( io exception e ) { throw new gdx runtime exception ( "Couldn't load tilemap '" + file name + "'" , e ) ; } } <SENTENCE_END/>


Original Name load,atlas

load

<SENTENCE_START> { element e = root . get child by name ( "properties" ) ; if ( e != null ) { for ( element property : e . get children by name ( "property" ) ) { string name = property . get attribute ( "name" , null ) ; string value = property . get attribute ( "value" , null ) ; if ( name . equals ( "atlas" ) ) { if ( value == null ) { value = property . get text ( ) ; } if ( value == null || value . length ( ) == 0 ) { continue ; } return get relative file handle ( tmx file , value ) ; } } } file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; return atlas file . exists ( ) ? atlas file : null ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { element e = root . get child by name ( "properties" ) ; if ( e != null ) { for ( element property : e . get children by name ( "property" ) ) { string name = property . get attribute ( "name" , null ) ; string value = property . get attribute ( "value" , null ) ; if ( name . equals ( "atlas" ) ) { if ( value == null ) { value = property . get text ( ) ; } if ( value == null || value . length ( ) == 0 ) { continue ; } return get relative file handle ( tmx file , value ) ; } } } file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; return atlas file . exists ( ) ? atlas file : null ; } <SENTENCE_END/>

atlas

<SENTENCE_START> { element e = root . get child by name ( "properties" ) ; if ( e != null ) { for ( element property : e . get children by name ( "property" ) ) { string name = property . get attribute ( "name" , null ) ; string value = property . get attribute ( "value" , null ) ; if ( name . equals ( "atlas" ) ) { if ( value == null ) { value = property . get text ( ) ; } if ( value == null || value . length ( ) == 0 ) { continue ; } return get relative file handle ( tmx file , value ) ; } } } file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; return atlas file . exists ( ) ? atlas file : null ; } <SENTENCE_END/>

(Copy Probability: 35.4%)

<SENTENCE_START> { element e = root . get child by name ( "properties" ) ; if ( e != null ) { for ( element property : e . get children by name ( "property" ) ) { string name = property . get attribute ( "name" , null ) ; string value = property . get attribute ( "value" , null ) ; if ( name . equals ( "atlas" ) ) { if ( value == null ) { value = property . get text ( ) ; } if ( value == null || value . length ( ) == 0 ) { continue ; } return get relative file handle ( tmx file , value ) ; } } } file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; return atlas file . exists ( ) ? atlas file : null ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { element e = root . get child by name ( "properties" ) ; if ( e != null ) { for ( element property : e . get children by name ( "property" ) ) { string name = property . get attribute ( "name" , null ) ; string value = property . get attribute ( "value" , null ) ; if ( name . equals ( "atlas" ) ) { if ( value == null ) { value = property . get text ( ) ; } if ( value == null || value . length ( ) == 0 ) { continue ; } return get relative file handle ( tmx file , value ) ; } } } file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; return atlas file . exists ( ) ? atlas file : null ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { element e = root . get child by name ( "properties" ) ; if ( e != null ) { for ( element property : e . get children by name ( "property" ) ) { string name = property . get attribute ( "name" , null ) ; string value = property . get attribute ( "value" , null ) ; if ( name . equals ( "atlas" ) ) { if ( value == null ) { value = property . get text ( ) ; } if ( value == null || value . length ( ) == 0 ) { continue ; } return get relative file handle ( tmx file , value ) ; } } } file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; return atlas file . exists ( ) ? atlas file : null ; } <SENTENCE_END/>


Original Name set,texture,filters

set

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

texture

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

(Copy Probability: 70.0%)

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

filters

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

(Copy Probability: 73.5%)

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { for ( texture texture : tracked textures ) { texture . set filter ( min , mag ) ; } tracked textures . clear ( ) ; } <SENTENCE_END/>


Original Name load,map

load

<SENTENCE_START> { tiled map map = new tiled map ( ) ; string map orientation = root . get attribute ( "orientation" , null ) ; int map width = root . get int attribute ( "width" , 0 ) ; int map height = root . get int attribute ( "height" , 0 ) ; int tile width = root . get int attribute ( "tilewidth" , 0 ) ; int tile height = root . get int attribute ( "tileheight" , 0 ) ; string map background color = root . get attribute ( "backgroundcolor" , null ) ; map properties map properties = map . get properties ( ) ; if ( map orientation != null ) { map properties . put ( "orientation" , map orientation ) ; } map properties . put ( "width" , map width ) ; map properties . put ( "height" , map height ) ; map properties . put ( "tilewidth" , tile width ) ; map properties . put ( "tileheight" , tile height ) ; if ( map background color != null ) { map properties . put ( "backgroundcolor" , map background color ) ; } map tile width = tile width ; map tile height = tile height ; map width in pixels = map width * tile width ; map height in pixels = map height * tile height ; for ( int i = 0 , j = root . get child count ( ) ; i < j ; i ++ ) { element element = root . get child ( i ) ; string element name = element . get name ( ) ; if ( element name . equals ( "properties" ) ) { load properties ( map . get properties ( ) , element ) ; } else if ( element name . equals ( "tileset" ) ) { load tileset ( map , element , tmx file , resolver ) ; } else if ( element name . equals ( "layer" ) ) { load tile layer ( map , element ) ; } else if ( element name . equals ( "objectgroup" ) ) { load object group ( map , element ) ; } } return map ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { tiled map map = new tiled map ( ) ; string map orientation = root . get attribute ( "orientation" , null ) ; int map width = root . get int attribute ( "width" , 0 ) ; int map height = root . get int attribute ( "height" , 0 ) ; int tile width = root . get int attribute ( "tilewidth" , 0 ) ; int tile height = root . get int attribute ( "tileheight" , 0 ) ; string map background color = root . get attribute ( "backgroundcolor" , null ) ; map properties map properties = map . get properties ( ) ; if ( map orientation != null ) { map properties . put ( "orientation" , map orientation ) ; } map properties . put ( "width" , map width ) ; map properties . put ( "height" , map height ) ; map properties . put ( "tilewidth" , tile width ) ; map properties . put ( "tileheight" , tile height ) ; if ( map background color != null ) { map properties . put ( "backgroundcolor" , map background color ) ; } map tile width = tile width ; map tile height = tile height ; map width in pixels = map width * tile width ; map height in pixels = map height * tile height ; for ( int i = 0 , j = root . get child count ( ) ; i < j ; i ++ ) { element element = root . get child ( i ) ; string element name = element . get name ( ) ; if ( element name . equals ( "properties" ) ) { load properties ( map . get properties ( ) , element ) ; } else if ( element name . equals ( "tileset" ) ) { load tileset ( map , element , tmx file , resolver ) ; } else if ( element name . equals ( "layer" ) ) { load tile layer ( map , element ) ; } else if ( element name . equals ( "objectgroup" ) ) { load object group ( map , element ) ; } } return map ; } <SENTENCE_END/>

map

<SENTENCE_START> { tiled map map = new tiled map ( ) ; string map orientation = root . get attribute ( "orientation" , null ) ; int map width = root . get int attribute ( "width" , 0 ) ; int map height = root . get int attribute ( "height" , 0 ) ; int tile width = root . get int attribute ( "tilewidth" , 0 ) ; int tile height = root . get int attribute ( "tileheight" , 0 ) ; string map background color = root . get attribute ( "backgroundcolor" , null ) ; map properties map properties = map . get properties ( ) ; if ( map orientation != null ) { map properties . put ( "orientation" , map orientation ) ; } map properties . put ( "width" , map width ) ; map properties . put ( "height" , map height ) ; map properties . put ( "tilewidth" , tile width ) ; map properties . put ( "tileheight" , tile height ) ; if ( map background color != null ) { map properties . put ( "backgroundcolor" , map background color ) ; } map tile width = tile width ; map tile height = tile height ; map width in pixels = map width * tile width ; map height in pixels = map height * tile height ; for ( int i = 0 , j = root . get child count ( ) ; i < j ; i ++ ) { element element = root . get child ( i ) ; string element name = element . get name ( ) ; if ( element name . equals ( "properties" ) ) { load properties ( map . get properties ( ) , element ) ; } else if ( element name . equals ( "tileset" ) ) { load tileset ( map , element , tmx file , resolver ) ; } else if ( element name . equals ( "layer" ) ) { load tile layer ( map , element ) ; } else if ( element name . equals ( "objectgroup" ) ) { load object group ( map , element ) ; } } return map ; } <SENTENCE_END/>

(Copy Probability: 23.0%)

<SENTENCE_START> { tiled map map = new tiled map ( ) ; string map orientation = root . get attribute ( "orientation" , null ) ; int map width = root . get int attribute ( "width" , 0 ) ; int map height = root . get int attribute ( "height" , 0 ) ; int tile width = root . get int attribute ( "tilewidth" , 0 ) ; int tile height = root . get int attribute ( "tileheight" , 0 ) ; string map background color = root . get attribute ( "backgroundcolor" , null ) ; map properties map properties = map . get properties ( ) ; if ( map orientation != null ) { map properties . put ( "orientation" , map orientation ) ; } map properties . put ( "width" , map width ) ; map properties . put ( "height" , map height ) ; map properties . put ( "tilewidth" , tile width ) ; map properties . put ( "tileheight" , tile height ) ; if ( map background color != null ) { map properties . put ( "backgroundcolor" , map background color ) ; } map tile width = tile width ; map tile height = tile height ; map width in pixels = map width * tile width ; map height in pixels = map height * tile height ; for ( int i = 0 , j = root . get child count ( ) ; i < j ; i ++ ) { element element = root . get child ( i ) ; string element name = element . get name ( ) ; if ( element name . equals ( "properties" ) ) { load properties ( map . get properties ( ) , element ) ; } else if ( element name . equals ( "tileset" ) ) { load tileset ( map , element , tmx file , resolver ) ; } else if ( element name . equals ( "layer" ) ) { load tile layer ( map , element ) ; } else if ( element name . equals ( "objectgroup" ) ) { load object group ( map , element ) ; } } return map ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { tiled map map = new tiled map ( ) ; string map orientation = root . get attribute ( "orientation" , null ) ; int map width = root . get int attribute ( "width" , 0 ) ; int map height = root . get int attribute ( "height" , 0 ) ; int tile width = root . get int attribute ( "tilewidth" , 0 ) ; int tile height = root . get int attribute ( "tileheight" , 0 ) ; string map background color = root . get attribute ( "backgroundcolor" , null ) ; map properties map properties = map . get properties ( ) ; if ( map orientation != null ) { map properties . put ( "orientation" , map orientation ) ; } map properties . put ( "width" , map width ) ; map properties . put ( "height" , map height ) ; map properties . put ( "tilewidth" , tile width ) ; map properties . put ( "tileheight" , tile height ) ; if ( map background color != null ) { map properties . put ( "backgroundcolor" , map background color ) ; } map tile width = tile width ; map tile height = tile height ; map width in pixels = map width * tile width ; map height in pixels = map height * tile height ; for ( int i = 0 , j = root . get child count ( ) ; i < j ; i ++ ) { element element = root . get child ( i ) ; string element name = element . get name ( ) ; if ( element name . equals ( "properties" ) ) { load properties ( map . get properties ( ) , element ) ; } else if ( element name . equals ( "tileset" ) ) { load tileset ( map , element , tmx file , resolver ) ; } else if ( element name . equals ( "layer" ) ) { load tile layer ( map , element ) ; } else if ( element name . equals ( "objectgroup" ) ) { load object group ( map , element ) ; } } return map ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { tiled map map = new tiled map ( ) ; string map orientation = root . get attribute ( "orientation" , null ) ; int map width = root . get int attribute ( "width" , 0 ) ; int map height = root . get int attribute ( "height" , 0 ) ; int tile width = root . get int attribute ( "tilewidth" , 0 ) ; int tile height = root . get int attribute ( "tileheight" , 0 ) ; string map background color = root . get attribute ( "backgroundcolor" , null ) ; map properties map properties = map . get properties ( ) ; if ( map orientation != null ) { map properties . put ( "orientation" , map orientation ) ; } map properties . put ( "width" , map width ) ; map properties . put ( "height" , map height ) ; map properties . put ( "tilewidth" , tile width ) ; map properties . put ( "tileheight" , tile height ) ; if ( map background color != null ) { map properties . put ( "backgroundcolor" , map background color ) ; } map tile width = tile width ; map tile height = tile height ; map width in pixels = map width * tile width ; map height in pixels = map height * tile height ; for ( int i = 0 , j = root . get child count ( ) ; i < j ; i ++ ) { element element = root . get child ( i ) ; string element name = element . get name ( ) ; if ( element name . equals ( "properties" ) ) { load properties ( map . get properties ( ) , element ) ; } else if ( element name . equals ( "tileset" ) ) { load tileset ( map , element , tmx file , resolver ) ; } else if ( element name . equals ( "layer" ) ) { load tile layer ( map , element ) ; } else if ( element name . equals ( "objectgroup" ) ) { load object group ( map , element ) ; } } return map ; } <SENTENCE_END/>


Original Name load,tileset

load

<SENTENCE_START> { if ( element . get name ( ) . equals ( "tileset" ) ) { string name = element . get ( "name" , null ) ; int firstgid = element . get int attribute ( "firstgid" , 1 ) ; int tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; int tileheight = element . get int attribute ( "tileheight" , 0 ) ; int spacing = element . get int attribute ( "spacing" , 0 ) ; int margin = element . get int attribute ( "margin" , 0 ) ; string source = element . get attribute ( "source" , null ) ; int offset x = 0 ; int offset y = 0 ; string image source = "" ; int image width = 0 , image height = 0 ; file handle image = null ; if ( source != null ) { file handle tsx = get relative file handle ( tmx file , source ) ; try { element = xml . parse ( tsx ) ; name = element . get ( "name" , null ) ; tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; tileheight = element . get int attribute ( "tileheight" , 0 ) ; spacing = element . get int attribute ( "spacing" , 0 ) ; margin = element . get int attribute ( "margin" , 0 ) ; element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tsx , image source ) ; } } catch ( io exception e ) { throw new gdx runtime exception ( "Error parsing external tileset." ) ; } } else { element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tmx file , image source ) ; } } string atlas file path = map . get properties ( ) . get ( "atlas" , string . class ) ; if ( atlas file path == null ) { file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; if ( atlas file . exists ( ) ) atlas file path = atlas file . name ( ) ; } if ( atlas file path == null ) { throw new gdx runtime exception ( "The map is missing the 'atlas' property" ) ; } file handle atlas handle = get relative file handle ( tmx file , atlas file path ) ; atlas handle = resolve ( atlas handle . path ( ) ) ; texture atlas atlas = resolver . get atlas ( atlas handle . path ( ) ) ; string regions name = atlas handle . name without extension ( ) ; for ( texture texture : atlas . get textures ( ) ) { tracked textures . add ( texture ) ; } tiled map tile set tileset = new tiled map tile set ( ) ; map properties props = tileset . get properties ( ) ; tileset . set name ( name ) ; props . put ( "firstgid" , firstgid ) ; props . put ( "imagesource" , image source ) ; props . put ( "imagewidth" , image width ) ; props . put ( "imageheight" , image height ) ; props . put ( "tilewidth" , tilewidth ) ; props . put ( "tileheight" , tileheight ) ; props . put ( "margin" , margin ) ; props . put ( "spacing" , spacing ) ; for ( atlas region region : atlas . find regions ( regions name ) ) { if ( region != null ) { static tiled map tile tile = new static tiled map tile ( region ) ; int tileid = firstgid + region . index ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } for ( element tile element : element . get children by name ( "tile" ) ) { int tileid = firstgid + tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( tileid ) ; if ( tile == null ) { element image element = tile element . get child by name ( "image" ) ; if ( image element != null ) { string region name = image element . get attribute ( "source" ) ; region name = region name . substring ( 0 , region name . last index of ( '.' ) ) ; atlas region region = atlas . find region ( region name ) ; if ( region == null ) throw new gdx runtime exception ( "Tileset region not found: " + region name ) ; tile = new static tiled map tile ( region ) ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } if ( tile != null ) { string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } array < element > tile elements = element . get children by name ( "tile" ) ; array < animated tiled map tile > animated tiles = new array < animated tiled map tile > ( ) ; for ( element tile element : tile elements ) { int localtid = tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( firstgid + localtid ) ; if ( tile != null ) { element animation element = tile element . get child by name ( "animation" ) ; if ( animation element != null ) { array < static tiled map tile > static tiles = new array < static tiled map tile > ( ) ; int array intervals = new int array ( ) ; for ( element frame element : animation element . get children by name ( "frame" ) ) { static tiles . add ( ( static tiled map tile ) tileset . get tile ( firstgid + frame element . get int attribute ( "tileid" ) ) ) ; intervals . add ( frame element . get int attribute ( "duration" ) ) ; } animated tiled map tile animated tile = new animated tiled map tile ( intervals , static tiles ) ; animated tile . set id ( tile . get id ( ) ) ; animated tiles . add ( animated tile ) ; tile = animated tile ; } string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } for ( animated tiled map tile tile : animated tiles ) { tileset . put tile ( tile . get id ( ) , tile ) ; } element properties = element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tileset . get properties ( ) , properties ) ; } map . get tile sets ( ) . add tile set ( tileset ) ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( element . get name ( ) . equals ( "tileset" ) ) { string name = element . get ( "name" , null ) ; int firstgid = element . get int attribute ( "firstgid" , 1 ) ; int tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; int tileheight = element . get int attribute ( "tileheight" , 0 ) ; int spacing = element . get int attribute ( "spacing" , 0 ) ; int margin = element . get int attribute ( "margin" , 0 ) ; string source = element . get attribute ( "source" , null ) ; int offset x = 0 ; int offset y = 0 ; string image source = "" ; int image width = 0 , image height = 0 ; file handle image = null ; if ( source != null ) { file handle tsx = get relative file handle ( tmx file , source ) ; try { element = xml . parse ( tsx ) ; name = element . get ( "name" , null ) ; tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; tileheight = element . get int attribute ( "tileheight" , 0 ) ; spacing = element . get int attribute ( "spacing" , 0 ) ; margin = element . get int attribute ( "margin" , 0 ) ; element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tsx , image source ) ; } } catch ( io exception e ) { throw new gdx runtime exception ( "Error parsing external tileset." ) ; } } else { element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tmx file , image source ) ; } } string atlas file path = map . get properties ( ) . get ( "atlas" , string . class ) ; if ( atlas file path == null ) { file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; if ( atlas file . exists ( ) ) atlas file path = atlas file . name ( ) ; } if ( atlas file path == null ) { throw new gdx runtime exception ( "The map is missing the 'atlas' property" ) ; } file handle atlas handle = get relative file handle ( tmx file , atlas file path ) ; atlas handle = resolve ( atlas handle . path ( ) ) ; texture atlas atlas = resolver . get atlas ( atlas handle . path ( ) ) ; string regions name = atlas handle . name without extension ( ) ; for ( texture texture : atlas . get textures ( ) ) { tracked textures . add ( texture ) ; } tiled map tile set tileset = new tiled map tile set ( ) ; map properties props = tileset . get properties ( ) ; tileset . set name ( name ) ; props . put ( "firstgid" , firstgid ) ; props . put ( "imagesource" , image source ) ; props . put ( "imagewidth" , image width ) ; props . put ( "imageheight" , image height ) ; props . put ( "tilewidth" , tilewidth ) ; props . put ( "tileheight" , tileheight ) ; props . put ( "margin" , margin ) ; props . put ( "spacing" , spacing ) ; for ( atlas region region : atlas . find regions ( regions name ) ) { if ( region != null ) { static tiled map tile tile = new static tiled map tile ( region ) ; int tileid = firstgid + region . index ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } for ( element tile element : element . get children by name ( "tile" ) ) { int tileid = firstgid + tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( tileid ) ; if ( tile == null ) { element image element = tile element . get child by name ( "image" ) ; if ( image element != null ) { string region name = image element . get attribute ( "source" ) ; region name = region name . substring ( 0 , region name . last index of ( '.' ) ) ; atlas region region = atlas . find region ( region name ) ; if ( region == null ) throw new gdx runtime exception ( "Tileset region not found: " + region name ) ; tile = new static tiled map tile ( region ) ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } if ( tile != null ) { string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } array < element > tile elements = element . get children by name ( "tile" ) ; array < animated tiled map tile > animated tiles = new array < animated tiled map tile > ( ) ; for ( element tile element : tile elements ) { int localtid = tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( firstgid + localtid ) ; if ( tile != null ) { element animation element = tile element . get child by name ( "animation" ) ; if ( animation element != null ) { array < static tiled map tile > static tiles = new array < static tiled map tile > ( ) ; int array intervals = new int array ( ) ; for ( element frame element : animation element . get children by name ( "frame" ) ) { static tiles . add ( ( static tiled map tile ) tileset . get tile ( firstgid + frame element . get int attribute ( "tileid" ) ) ) ; intervals . add ( frame element . get int attribute ( "duration" ) ) ; } animated tiled map tile animated tile = new animated tiled map tile ( intervals , static tiles ) ; animated tile . set id ( tile . get id ( ) ) ; animated tiles . add ( animated tile ) ; tile = animated tile ; } string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } for ( animated tiled map tile tile : animated tiles ) { tileset . put tile ( tile . get id ( ) , tile ) ; } element properties = element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tileset . get properties ( ) , properties ) ; } map . get tile sets ( ) . add tile set ( tileset ) ; } } <SENTENCE_END/>

tileset

<SENTENCE_START> { if ( element . get name ( ) . equals ( "tileset" ) ) { string name = element . get ( "name" , null ) ; int firstgid = element . get int attribute ( "firstgid" , 1 ) ; int tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; int tileheight = element . get int attribute ( "tileheight" , 0 ) ; int spacing = element . get int attribute ( "spacing" , 0 ) ; int margin = element . get int attribute ( "margin" , 0 ) ; string source = element . get attribute ( "source" , null ) ; int offset x = 0 ; int offset y = 0 ; string image source = "" ; int image width = 0 , image height = 0 ; file handle image = null ; if ( source != null ) { file handle tsx = get relative file handle ( tmx file , source ) ; try { element = xml . parse ( tsx ) ; name = element . get ( "name" , null ) ; tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; tileheight = element . get int attribute ( "tileheight" , 0 ) ; spacing = element . get int attribute ( "spacing" , 0 ) ; margin = element . get int attribute ( "margin" , 0 ) ; element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tsx , image source ) ; } } catch ( io exception e ) { throw new gdx runtime exception ( "Error parsing external tileset." ) ; } } else { element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tmx file , image source ) ; } } string atlas file path = map . get properties ( ) . get ( "atlas" , string . class ) ; if ( atlas file path == null ) { file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; if ( atlas file . exists ( ) ) atlas file path = atlas file . name ( ) ; } if ( atlas file path == null ) { throw new gdx runtime exception ( "The map is missing the 'atlas' property" ) ; } file handle atlas handle = get relative file handle ( tmx file , atlas file path ) ; atlas handle = resolve ( atlas handle . path ( ) ) ; texture atlas atlas = resolver . get atlas ( atlas handle . path ( ) ) ; string regions name = atlas handle . name without extension ( ) ; for ( texture texture : atlas . get textures ( ) ) { tracked textures . add ( texture ) ; } tiled map tile set tileset = new tiled map tile set ( ) ; map properties props = tileset . get properties ( ) ; tileset . set name ( name ) ; props . put ( "firstgid" , firstgid ) ; props . put ( "imagesource" , image source ) ; props . put ( "imagewidth" , image width ) ; props . put ( "imageheight" , image height ) ; props . put ( "tilewidth" , tilewidth ) ; props . put ( "tileheight" , tileheight ) ; props . put ( "margin" , margin ) ; props . put ( "spacing" , spacing ) ; for ( atlas region region : atlas . find regions ( regions name ) ) { if ( region != null ) { static tiled map tile tile = new static tiled map tile ( region ) ; int tileid = firstgid + region . index ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } for ( element tile element : element . get children by name ( "tile" ) ) { int tileid = firstgid + tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( tileid ) ; if ( tile == null ) { element image element = tile element . get child by name ( "image" ) ; if ( image element != null ) { string region name = image element . get attribute ( "source" ) ; region name = region name . substring ( 0 , region name . last index of ( '.' ) ) ; atlas region region = atlas . find region ( region name ) ; if ( region == null ) throw new gdx runtime exception ( "Tileset region not found: " + region name ) ; tile = new static tiled map tile ( region ) ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } if ( tile != null ) { string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } array < element > tile elements = element . get children by name ( "tile" ) ; array < animated tiled map tile > animated tiles = new array < animated tiled map tile > ( ) ; for ( element tile element : tile elements ) { int localtid = tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( firstgid + localtid ) ; if ( tile != null ) { element animation element = tile element . get child by name ( "animation" ) ; if ( animation element != null ) { array < static tiled map tile > static tiles = new array < static tiled map tile > ( ) ; int array intervals = new int array ( ) ; for ( element frame element : animation element . get children by name ( "frame" ) ) { static tiles . add ( ( static tiled map tile ) tileset . get tile ( firstgid + frame element . get int attribute ( "tileid" ) ) ) ; intervals . add ( frame element . get int attribute ( "duration" ) ) ; } animated tiled map tile animated tile = new animated tiled map tile ( intervals , static tiles ) ; animated tile . set id ( tile . get id ( ) ) ; animated tiles . add ( animated tile ) ; tile = animated tile ; } string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } for ( animated tiled map tile tile : animated tiles ) { tileset . put tile ( tile . get id ( ) , tile ) ; } element properties = element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tileset . get properties ( ) , properties ) ; } map . get tile sets ( ) . add tile set ( tileset ) ; } } <SENTENCE_END/>

(Copy Probability: 17.6%)

<SENTENCE_START> { if ( element . get name ( ) . equals ( "tileset" ) ) { string name = element . get ( "name" , null ) ; int firstgid = element . get int attribute ( "firstgid" , 1 ) ; int tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; int tileheight = element . get int attribute ( "tileheight" , 0 ) ; int spacing = element . get int attribute ( "spacing" , 0 ) ; int margin = element . get int attribute ( "margin" , 0 ) ; string source = element . get attribute ( "source" , null ) ; int offset x = 0 ; int offset y = 0 ; string image source = "" ; int image width = 0 , image height = 0 ; file handle image = null ; if ( source != null ) { file handle tsx = get relative file handle ( tmx file , source ) ; try { element = xml . parse ( tsx ) ; name = element . get ( "name" , null ) ; tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; tileheight = element . get int attribute ( "tileheight" , 0 ) ; spacing = element . get int attribute ( "spacing" , 0 ) ; margin = element . get int attribute ( "margin" , 0 ) ; element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tsx , image source ) ; } } catch ( io exception e ) { throw new gdx runtime exception ( "Error parsing external tileset." ) ; } } else { element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tmx file , image source ) ; } } string atlas file path = map . get properties ( ) . get ( "atlas" , string . class ) ; if ( atlas file path == null ) { file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; if ( atlas file . exists ( ) ) atlas file path = atlas file . name ( ) ; } if ( atlas file path == null ) { throw new gdx runtime exception ( "The map is missing the 'atlas' property" ) ; } file handle atlas handle = get relative file handle ( tmx file , atlas file path ) ; atlas handle = resolve ( atlas handle . path ( ) ) ; texture atlas atlas = resolver . get atlas ( atlas handle . path ( ) ) ; string regions name = atlas handle . name without extension ( ) ; for ( texture texture : atlas . get textures ( ) ) { tracked textures . add ( texture ) ; } tiled map tile set tileset = new tiled map tile set ( ) ; map properties props = tileset . get properties ( ) ; tileset . set name ( name ) ; props . put ( "firstgid" , firstgid ) ; props . put ( "imagesource" , image source ) ; props . put ( "imagewidth" , image width ) ; props . put ( "imageheight" , image height ) ; props . put ( "tilewidth" , tilewidth ) ; props . put ( "tileheight" , tileheight ) ; props . put ( "margin" , margin ) ; props . put ( "spacing" , spacing ) ; for ( atlas region region : atlas . find regions ( regions name ) ) { if ( region != null ) { static tiled map tile tile = new static tiled map tile ( region ) ; int tileid = firstgid + region . index ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } for ( element tile element : element . get children by name ( "tile" ) ) { int tileid = firstgid + tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( tileid ) ; if ( tile == null ) { element image element = tile element . get child by name ( "image" ) ; if ( image element != null ) { string region name = image element . get attribute ( "source" ) ; region name = region name . substring ( 0 , region name . last index of ( '.' ) ) ; atlas region region = atlas . find region ( region name ) ; if ( region == null ) throw new gdx runtime exception ( "Tileset region not found: " + region name ) ; tile = new static tiled map tile ( region ) ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } if ( tile != null ) { string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } array < element > tile elements = element . get children by name ( "tile" ) ; array < animated tiled map tile > animated tiles = new array < animated tiled map tile > ( ) ; for ( element tile element : tile elements ) { int localtid = tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( firstgid + localtid ) ; if ( tile != null ) { element animation element = tile element . get child by name ( "animation" ) ; if ( animation element != null ) { array < static tiled map tile > static tiles = new array < static tiled map tile > ( ) ; int array intervals = new int array ( ) ; for ( element frame element : animation element . get children by name ( "frame" ) ) { static tiles . add ( ( static tiled map tile ) tileset . get tile ( firstgid + frame element . get int attribute ( "tileid" ) ) ) ; intervals . add ( frame element . get int attribute ( "duration" ) ) ; } animated tiled map tile animated tile = new animated tiled map tile ( intervals , static tiles ) ; animated tile . set id ( tile . get id ( ) ) ; animated tiles . add ( animated tile ) ; tile = animated tile ; } string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } for ( animated tiled map tile tile : animated tiles ) { tileset . put tile ( tile . get id ( ) , tile ) ; } element properties = element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tileset . get properties ( ) , properties ) ; } map . get tile sets ( ) . add tile set ( tileset ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( element . get name ( ) . equals ( "tileset" ) ) { string name = element . get ( "name" , null ) ; int firstgid = element . get int attribute ( "firstgid" , 1 ) ; int tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; int tileheight = element . get int attribute ( "tileheight" , 0 ) ; int spacing = element . get int attribute ( "spacing" , 0 ) ; int margin = element . get int attribute ( "margin" , 0 ) ; string source = element . get attribute ( "source" , null ) ; int offset x = 0 ; int offset y = 0 ; string image source = "" ; int image width = 0 , image height = 0 ; file handle image = null ; if ( source != null ) { file handle tsx = get relative file handle ( tmx file , source ) ; try { element = xml . parse ( tsx ) ; name = element . get ( "name" , null ) ; tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; tileheight = element . get int attribute ( "tileheight" , 0 ) ; spacing = element . get int attribute ( "spacing" , 0 ) ; margin = element . get int attribute ( "margin" , 0 ) ; element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tsx , image source ) ; } } catch ( io exception e ) { throw new gdx runtime exception ( "Error parsing external tileset." ) ; } } else { element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tmx file , image source ) ; } } string atlas file path = map . get properties ( ) . get ( "atlas" , string . class ) ; if ( atlas file path == null ) { file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; if ( atlas file . exists ( ) ) atlas file path = atlas file . name ( ) ; } if ( atlas file path == null ) { throw new gdx runtime exception ( "The map is missing the 'atlas' property" ) ; } file handle atlas handle = get relative file handle ( tmx file , atlas file path ) ; atlas handle = resolve ( atlas handle . path ( ) ) ; texture atlas atlas = resolver . get atlas ( atlas handle . path ( ) ) ; string regions name = atlas handle . name without extension ( ) ; for ( texture texture : atlas . get textures ( ) ) { tracked textures . add ( texture ) ; } tiled map tile set tileset = new tiled map tile set ( ) ; map properties props = tileset . get properties ( ) ; tileset . set name ( name ) ; props . put ( "firstgid" , firstgid ) ; props . put ( "imagesource" , image source ) ; props . put ( "imagewidth" , image width ) ; props . put ( "imageheight" , image height ) ; props . put ( "tilewidth" , tilewidth ) ; props . put ( "tileheight" , tileheight ) ; props . put ( "margin" , margin ) ; props . put ( "spacing" , spacing ) ; for ( atlas region region : atlas . find regions ( regions name ) ) { if ( region != null ) { static tiled map tile tile = new static tiled map tile ( region ) ; int tileid = firstgid + region . index ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } for ( element tile element : element . get children by name ( "tile" ) ) { int tileid = firstgid + tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( tileid ) ; if ( tile == null ) { element image element = tile element . get child by name ( "image" ) ; if ( image element != null ) { string region name = image element . get attribute ( "source" ) ; region name = region name . substring ( 0 , region name . last index of ( '.' ) ) ; atlas region region = atlas . find region ( region name ) ; if ( region == null ) throw new gdx runtime exception ( "Tileset region not found: " + region name ) ; tile = new static tiled map tile ( region ) ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } if ( tile != null ) { string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } array < element > tile elements = element . get children by name ( "tile" ) ; array < animated tiled map tile > animated tiles = new array < animated tiled map tile > ( ) ; for ( element tile element : tile elements ) { int localtid = tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( firstgid + localtid ) ; if ( tile != null ) { element animation element = tile element . get child by name ( "animation" ) ; if ( animation element != null ) { array < static tiled map tile > static tiles = new array < static tiled map tile > ( ) ; int array intervals = new int array ( ) ; for ( element frame element : animation element . get children by name ( "frame" ) ) { static tiles . add ( ( static tiled map tile ) tileset . get tile ( firstgid + frame element . get int attribute ( "tileid" ) ) ) ; intervals . add ( frame element . get int attribute ( "duration" ) ) ; } animated tiled map tile animated tile = new animated tiled map tile ( intervals , static tiles ) ; animated tile . set id ( tile . get id ( ) ) ; animated tiles . add ( animated tile ) ; tile = animated tile ; } string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } for ( animated tiled map tile tile : animated tiles ) { tileset . put tile ( tile . get id ( ) , tile ) ; } element properties = element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tileset . get properties ( ) , properties ) ; } map . get tile sets ( ) . add tile set ( tileset ) ; } } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { if ( element . get name ( ) . equals ( "tileset" ) ) { string name = element . get ( "name" , null ) ; int firstgid = element . get int attribute ( "firstgid" , 1 ) ; int tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; int tileheight = element . get int attribute ( "tileheight" , 0 ) ; int spacing = element . get int attribute ( "spacing" , 0 ) ; int margin = element . get int attribute ( "margin" , 0 ) ; string source = element . get attribute ( "source" , null ) ; int offset x = 0 ; int offset y = 0 ; string image source = "" ; int image width = 0 , image height = 0 ; file handle image = null ; if ( source != null ) { file handle tsx = get relative file handle ( tmx file , source ) ; try { element = xml . parse ( tsx ) ; name = element . get ( "name" , null ) ; tilewidth = element . get int attribute ( "tilewidth" , 0 ) ; tileheight = element . get int attribute ( "tileheight" , 0 ) ; spacing = element . get int attribute ( "spacing" , 0 ) ; margin = element . get int attribute ( "margin" , 0 ) ; element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tsx , image source ) ; } } catch ( io exception e ) { throw new gdx runtime exception ( "Error parsing external tileset." ) ; } } else { element offset = element . get child by name ( "tileoffset" ) ; if ( offset != null ) { offset x = offset . get int attribute ( "x" , 0 ) ; offset y = offset . get int attribute ( "y" , 0 ) ; } element image element = element . get child by name ( "image" ) ; if ( image element != null ) { image source = image element . get attribute ( "source" ) ; image width = image element . get int attribute ( "width" , 0 ) ; image height = image element . get int attribute ( "height" , 0 ) ; image = get relative file handle ( tmx file , image source ) ; } } string atlas file path = map . get properties ( ) . get ( "atlas" , string . class ) ; if ( atlas file path == null ) { file handle atlas file = tmx file . sibling ( tmx file . name without extension ( ) + ".atlas" ) ; if ( atlas file . exists ( ) ) atlas file path = atlas file . name ( ) ; } if ( atlas file path == null ) { throw new gdx runtime exception ( "The map is missing the 'atlas' property" ) ; } file handle atlas handle = get relative file handle ( tmx file , atlas file path ) ; atlas handle = resolve ( atlas handle . path ( ) ) ; texture atlas atlas = resolver . get atlas ( atlas handle . path ( ) ) ; string regions name = atlas handle . name without extension ( ) ; for ( texture texture : atlas . get textures ( ) ) { tracked textures . add ( texture ) ; } tiled map tile set tileset = new tiled map tile set ( ) ; map properties props = tileset . get properties ( ) ; tileset . set name ( name ) ; props . put ( "firstgid" , firstgid ) ; props . put ( "imagesource" , image source ) ; props . put ( "imagewidth" , image width ) ; props . put ( "imageheight" , image height ) ; props . put ( "tilewidth" , tilewidth ) ; props . put ( "tileheight" , tileheight ) ; props . put ( "margin" , margin ) ; props . put ( "spacing" , spacing ) ; for ( atlas region region : atlas . find regions ( regions name ) ) { if ( region != null ) { static tiled map tile tile = new static tiled map tile ( region ) ; int tileid = firstgid + region . index ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } for ( element tile element : element . get children by name ( "tile" ) ) { int tileid = firstgid + tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( tileid ) ; if ( tile == null ) { element image element = tile element . get child by name ( "image" ) ; if ( image element != null ) { string region name = image element . get attribute ( "source" ) ; region name = region name . substring ( 0 , region name . last index of ( '.' ) ) ; atlas region region = atlas . find region ( region name ) ; if ( region == null ) throw new gdx runtime exception ( "Tileset region not found: " + region name ) ; tile = new static tiled map tile ( region ) ; tile . set id ( tileid ) ; tile . set offset x ( offset x ) ; tile . set offset y ( - offset y ) ; tileset . put tile ( tileid , tile ) ; } } if ( tile != null ) { string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } array < element > tile elements = element . get children by name ( "tile" ) ; array < animated tiled map tile > animated tiles = new array < animated tiled map tile > ( ) ; for ( element tile element : tile elements ) { int localtid = tile element . get int attribute ( "id" , 0 ) ; tiled map tile tile = tileset . get tile ( firstgid + localtid ) ; if ( tile != null ) { element animation element = tile element . get child by name ( "animation" ) ; if ( animation element != null ) { array < static tiled map tile > static tiles = new array < static tiled map tile > ( ) ; int array intervals = new int array ( ) ; for ( element frame element : animation element . get children by name ( "frame" ) ) { static tiles . add ( ( static tiled map tile ) tileset . get tile ( firstgid + frame element . get int attribute ( "tileid" ) ) ) ; intervals . add ( frame element . get int attribute ( "duration" ) ) ; } animated tiled map tile animated tile = new animated tiled map tile ( intervals , static tiles ) ; animated tile . set id ( tile . get id ( ) ) ; animated tiles . add ( animated tile ) ; tile = animated tile ; } string terrain = tile element . get attribute ( "terrain" , null ) ; if ( terrain != null ) { tile . get properties ( ) . put ( "terrain" , terrain ) ; } string probability = tile element . get attribute ( "probability" , null ) ; if ( probability != null ) { tile . get properties ( ) . put ( "probability" , probability ) ; } element properties = tile element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tile . get properties ( ) , properties ) ; } } } for ( animated tiled map tile tile : animated tiles ) { tileset . put tile ( tile . get id ( ) , tile ) ; } element properties = element . get child by name ( "properties" ) ; if ( properties != null ) { load properties ( tileset . get properties ( ) , properties ) ; } map . get tile sets ( ) . add tile set ( tileset ) ; } } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>


Original Name delegate

delegate

<SENTENCE_START> { if ( action == null ) return true ; return action . act ( delta * scale ) ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { if ( action == null ) return true ; return action . act ( delta * scale ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( action == null ) return true ; return action . act ( delta * scale ) ; } <SENTENCE_END/>

(Copy Probability: 1.7%)

<SENTENCE_START> { if ( action == null ) return true ; return action . act ( delta * scale ) ; } <SENTENCE_END/>


Original Name get,scale

get

<SENTENCE_START> { return scale ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return scale ; } <SENTENCE_END/>

scale

<SENTENCE_START> { return scale ; } <SENTENCE_END/>

(Copy Probability: 84.2%)

<SENTENCE_START> { return scale ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return scale ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { return scale ; } <SENTENCE_END/>


Original Name set,scale

set

<SENTENCE_START> { this . scale = scale ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { this . scale = scale ; } <SENTENCE_END/>

scale

<SENTENCE_START> { this . scale = scale ; } <SENTENCE_END/>

(Copy Probability: 89.0%)

<SENTENCE_START> { this . scale = scale ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . scale = scale ; } <SENTENCE_END/>

(Copy Probability: 4.8%)

<SENTENCE_START> { this . scale = scale ; } <SENTENCE_END/>


Original Name set

set

<SENTENCE_START> { return %SELF% ( copy from . color , copy from . direction ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { return %SELF% ( copy from . color , copy from . direction ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ( copy from . color , copy from . direction ) ; } <SENTENCE_END/>

(Copy Probability: 22.1%)

<SENTENCE_START> { return %SELF% ( copy from . color , copy from . direction ) ; } <SENTENCE_END/>


Original Name set

set

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 5.7%)

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>


Original Name set

set

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 6.2%)

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; if ( direction != null ) this . direction . %SELF% ( direction ) . nor ( ) ; return this ; } <SENTENCE_END/>


Original Name set

set

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 24.3%)

<SENTENCE_START> { if ( color != null ) this . color . %SELF% ( color ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>


Original Name set

set

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>

(Copy Probability: 24.3%)

<SENTENCE_START> { this . color . %SELF% ( r , g , b , 1f ) ; this . direction . %SELF% ( dir x , dir y , dir z ) . nor ( ) ; return this ; } <SENTENCE_END/>


Original Name equals

equals

<SENTENCE_START> { return ( other != null ) && ( ( other == this ) || ( ( color . %SELF% ( other . color ) && direction . %SELF% ( other . direction ) ) ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return ( other != null ) && ( ( other == this ) || ( ( color . %SELF% ( other . color ) && direction . %SELF% ( other . direction ) ) ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( other != null ) && ( ( other == this ) || ( ( color . %SELF% ( other . color ) && direction . %SELF% ( other . direction ) ) ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( other != null ) && ( ( other == this ) || ( ( color . %SELF% ( other . color ) && direction . %SELF% ( other . direction ) ) ) ) ; } <SENTENCE_END/>


Original Name init

init

<SENTENCE_START> { surface holder holder = get holder ( ) ; holder . add callback ( this ) ; int sdk version = android . os . build . version . sdk int ; if ( sdk version <= 8 ) { holder . set format ( pixel format . rgb 565 ) ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { surface holder holder = get holder ( ) ; holder . add callback ( this ) ; int sdk version = android . os . build . version . sdk int ; if ( sdk version <= 8 ) { holder . set format ( pixel format . rgb 565 ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { surface holder holder = get holder ( ) ; holder . add callback ( this ) ; int sdk version = android . os . build . version . sdk int ; if ( sdk version <= 8 ) { holder . set format ( pixel format . rgb 565 ) ; } } <SENTENCE_END/>

(Copy Probability: 10.4%)

<SENTENCE_START> { surface holder holder = get holder ( ) ; holder . add callback ( this ) ; int sdk version = android . os . build . version . sdk int ; if ( sdk version <= 8 ) { holder . set format ( pixel format . rgb 565 ) ; } } <SENTENCE_END/>


Original Name set,gl,wrapper

set

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

gl

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

(Copy Probability: 53.8%)

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

wrapper

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

(Copy Probability: 25.2%)

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>

(Copy Probability: 2.7%)

<SENTENCE_START> { m gl wrapper = gl wrapper ; } <SENTENCE_END/>


Original Name set,debug,flags

set

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

debug

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

(Copy Probability: 98.3%)

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

flags

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

(Copy Probability: 99.3%)

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { m debug flags = debug flags ; } <SENTENCE_END/>


Original Name get,debug,flags

get

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

debug

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

(Copy Probability: 96.9%)

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

flags

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

(Copy Probability: 99.3%)

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return m debug flags ; } <SENTENCE_END/>


Original Name set,preserve,egl,context,on,pause

set

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

preserve

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 99.5%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

egl

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 95.5%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

context

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 35.1%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

on

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

pause

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 21.5%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>

(Copy Probability: 42.1%)

<SENTENCE_START> { m preserve egl context on pause = preserve on pause ; } <SENTENCE_END/>


Original Name get,preserve,egl,context,on,pause

get

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

preserve

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 99.5%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

egl

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 98.9%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

context

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 27.4%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

on

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 1.7%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

pause

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 21.1%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>

(Copy Probability: 32.7%)

<SENTENCE_START> { return m preserve egl context on pause ; } <SENTENCE_END/>


Original Name set,renderer

set

<SENTENCE_START> { check render thread state ( ) ; if ( m egl config chooser == null ) { m egl config chooser = new simple egl config chooser ( true ) ; } if ( m egl context factory == null ) { m egl context factory = new default context factory ( ) ; } if ( m egl window surface factory == null ) { m egl window surface factory = new default window surface factory ( ) ; } m renderer = renderer ; m gl thread = new gl thread ( m this weak ref ) ; m gl thread . start ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { check render thread state ( ) ; if ( m egl config chooser == null ) { m egl config chooser = new simple egl config chooser ( true ) ; } if ( m egl context factory == null ) { m egl context factory = new default context factory ( ) ; } if ( m egl window surface factory == null ) { m egl window surface factory = new default window surface factory ( ) ; } m renderer = renderer ; m gl thread = new gl thread ( m this weak ref ) ; m gl thread . start ( ) ; } <SENTENCE_END/>

renderer

<SENTENCE_START> { check render thread state ( ) ; if ( m egl config chooser == null ) { m egl config chooser = new simple egl config chooser ( true ) ; } if ( m egl context factory == null ) { m egl context factory = new default context factory ( ) ; } if ( m egl window surface factory == null ) { m egl window surface factory = new default window surface factory ( ) ; } m renderer = renderer ; m gl thread = new gl thread ( m this weak ref ) ; m gl thread . start ( ) ; } <SENTENCE_END/>

(Copy Probability: 88.8%)

<SENTENCE_START> { check render thread state ( ) ; if ( m egl config chooser == null ) { m egl config chooser = new simple egl config chooser ( true ) ; } if ( m egl context factory == null ) { m egl context factory = new default context factory ( ) ; } if ( m egl window surface factory == null ) { m egl window surface factory = new default window surface factory ( ) ; } m renderer = renderer ; m gl thread = new gl thread ( m this weak ref ) ; m gl thread . start ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { check render thread state ( ) ; if ( m egl config chooser == null ) { m egl config chooser = new simple egl config chooser ( true ) ; } if ( m egl context factory == null ) { m egl context factory = new default context factory ( ) ; } if ( m egl window surface factory == null ) { m egl window surface factory = new default window surface factory ( ) ; } m renderer = renderer ; m gl thread = new gl thread ( m this weak ref ) ; m gl thread . start ( ) ; } <SENTENCE_END/>

(Copy Probability: 12.0%)

<SENTENCE_START> { check render thread state ( ) ; if ( m egl config chooser == null ) { m egl config chooser = new simple egl config chooser ( true ) ; } if ( m egl context factory == null ) { m egl context factory = new default context factory ( ) ; } if ( m egl window surface factory == null ) { m egl window surface factory = new default window surface factory ( ) ; } m renderer = renderer ; m gl thread = new gl thread ( m this weak ref ) ; m gl thread . start ( ) ; } <SENTENCE_END/>


Original Name set,egl,context,factory

set

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

(Copy Probability: 3.6%)

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

egl

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

(Copy Probability: 94.1%)

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

context

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

(Copy Probability: 85.4%)

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

factory

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { check render thread state ( ) ; m egl context factory = factory ; } <SENTENCE_END/>


Original Name set,egl,window,surface,factory

set

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

(Copy Probability: 3.5%)

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

egl

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

(Copy Probability: 98.6%)

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

window

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

(Copy Probability: 81.8%)

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

surface

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

factory

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

(Copy Probability: 62.8%)

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { check render thread state ( ) ; m egl window surface factory = factory ; } <SENTENCE_END/>


Original Name set,egl,config,chooser

set

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

(Copy Probability: 4.1%)

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

egl

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

(Copy Probability: 95.2%)

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

config

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

(Copy Probability: 69.6%)

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

chooser

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

(Copy Probability: 12.7%)

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>

(Copy Probability: 25.9%)

<SENTENCE_START> { check render thread state ( ) ; m egl config chooser = config chooser ; } <SENTENCE_END/>


Original Name set,egl,config,chooser

set

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

(Copy Probability: 52.2%)

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

config

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

(Copy Probability: 20.1%)

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

chooser

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

(Copy Probability: 4.8%)

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>

(Copy Probability: 9.1%)

<SENTENCE_START> { %SELF% ( new simple egl config chooser ( need depth ) ) ; } <SENTENCE_END/>


Original Name set,egl,config,chooser

set

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

(Copy Probability: 3.9%)

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

config

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

(Copy Probability: 4.8%)

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

chooser

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

(Copy Probability: 2.5%)

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>

(Copy Probability: 6.0%)

<SENTENCE_START> { %SELF% ( new component size chooser ( red size , green size , blue size , alpha size , depth size , stencil size ) ) ; } <SENTENCE_END/>


Original Name set,egl,context,client,version

set

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

(Copy Probability: 3.9%)

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

egl

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

(Copy Probability: 94.3%)

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

context

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

(Copy Probability: 67.8%)

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

client

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

version

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

(Copy Probability: 13.1%)

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { check render thread state ( ) ; m egl context client version = version ; } <SENTENCE_END/>


Original Name set,render,mode

set

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

render

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

(Copy Probability: 78.4%)

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

mode

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

(Copy Probability: 39.8%)

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( render mode ) ; } <SENTENCE_END/>


Original Name get,render,mode

get

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

render

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

mode

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 3.4%)

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return m gl thread . %SELF% ( ) ; } <SENTENCE_END/>


Original Name request,render

request

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

render

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.9%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>


Original Name surface,created

surface

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

created

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>


Original Name surface,destroyed

surface

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

destroyed

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>


Original Name surface,changed

surface

<SENTENCE_START> { m gl thread . on window resize ( w , h ) ; } <SENTENCE_END/>

(Copy Probability: 2.4%)

<SENTENCE_START> { m gl thread . on window resize ( w , h ) ; } <SENTENCE_END/>

changed

<SENTENCE_START> { m gl thread . on window resize ( w , h ) ; } <SENTENCE_END/>

(Copy Probability: 79.5%)

<SENTENCE_START> { m gl thread . on window resize ( w , h ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . on window resize ( w , h ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { m gl thread . on window resize ( w , h ) ; } <SENTENCE_END/>


Original Name on,pause

on

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

pause

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.7%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>


Original Name on,resume

on

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

resume

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { m gl thread . %SELF% ( ) ; } <SENTENCE_END/>


Original Name queue,event

queue

<SENTENCE_START> { m gl thread . %SELF% ( r ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { m gl thread . %SELF% ( r ) ; } <SENTENCE_END/>

event

<SENTENCE_START> { m gl thread . %SELF% ( r ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { m gl thread . %SELF% ( r ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m gl thread . %SELF% ( r ) ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { m gl thread . %SELF% ( r ) ; } <SENTENCE_END/>


Original Name choose,config

choose

<SENTENCE_START> { int [ ] num config = new int [ 1 ] ; if ( ! egl . egl choose config ( display , m config spec , null , 0 , num config ) ) { throw new illegal argument exception ( "eglChooseConfig failed" ) ; } int num configs = num config [ 0 ] ; if ( num configs <= 0 ) { throw new illegal argument exception ( "No configs match configSpec" ) ; } egl config [ ] configs = new egl config [ num configs ] ; if ( ! egl . egl choose config ( display , m config spec , configs , num configs , num config ) ) { throw new illegal argument exception ( "eglChooseConfig#2 failed" ) ; } egl config config = %SELF% ( egl , display , configs ) ; if ( config == null ) { throw new illegal argument exception ( "No config chosen" ) ; } return config ; } <SENTENCE_END/>

(Copy Probability: 4.1%)

<SENTENCE_START> { int [ ] num config = new int [ 1 ] ; if ( ! egl . egl choose config ( display , m config spec , null , 0 , num config ) ) { throw new illegal argument exception ( "eglChooseConfig failed" ) ; } int num configs = num config [ 0 ] ; if ( num configs <= 0 ) { throw new illegal argument exception ( "No configs match configSpec" ) ; } egl config [ ] configs = new egl config [ num configs ] ; if ( ! egl . egl choose config ( display , m config spec , configs , num configs , num config ) ) { throw new illegal argument exception ( "eglChooseConfig#2 failed" ) ; } egl config config = %SELF% ( egl , display , configs ) ; if ( config == null ) { throw new illegal argument exception ( "No config chosen" ) ; } return config ; } <SENTENCE_END/>

config

<SENTENCE_START> { int [ ] num config = new int [ 1 ] ; if ( ! egl . egl choose config ( display , m config spec , null , 0 , num config ) ) { throw new illegal argument exception ( "eglChooseConfig failed" ) ; } int num configs = num config [ 0 ] ; if ( num configs <= 0 ) { throw new illegal argument exception ( "No configs match configSpec" ) ; } egl config [ ] configs = new egl config [ num configs ] ; if ( ! egl . egl choose config ( display , m config spec , configs , num configs , num config ) ) { throw new illegal argument exception ( "eglChooseConfig#2 failed" ) ; } egl config config = %SELF% ( egl , display , configs ) ; if ( config == null ) { throw new illegal argument exception ( "No config chosen" ) ; } return config ; } <SENTENCE_END/>

(Copy Probability: 89.9%)

<SENTENCE_START> { int [ ] num config = new int [ 1 ] ; if ( ! egl . egl choose config ( display , m config spec , null , 0 , num config ) ) { throw new illegal argument exception ( "eglChooseConfig failed" ) ; } int num configs = num config [ 0 ] ; if ( num configs <= 0 ) { throw new illegal argument exception ( "No configs match configSpec" ) ; } egl config [ ] configs = new egl config [ num configs ] ; if ( ! egl . egl choose config ( display , m config spec , configs , num configs , num config ) ) { throw new illegal argument exception ( "eglChooseConfig#2 failed" ) ; } egl config config = %SELF% ( egl , display , configs ) ; if ( config == null ) { throw new illegal argument exception ( "No config chosen" ) ; } return config ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int [ ] num config = new int [ 1 ] ; if ( ! egl . egl choose config ( display , m config spec , null , 0 , num config ) ) { throw new illegal argument exception ( "eglChooseConfig failed" ) ; } int num configs = num config [ 0 ] ; if ( num configs <= 0 ) { throw new illegal argument exception ( "No configs match configSpec" ) ; } egl config [ ] configs = new egl config [ num configs ] ; if ( ! egl . egl choose config ( display , m config spec , configs , num configs , num config ) ) { throw new illegal argument exception ( "eglChooseConfig#2 failed" ) ; } egl config config = %SELF% ( egl , display , configs ) ; if ( config == null ) { throw new illegal argument exception ( "No config chosen" ) ; } return config ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { int [ ] num config = new int [ 1 ] ; if ( ! egl . egl choose config ( display , m config spec , null , 0 , num config ) ) { throw new illegal argument exception ( "eglChooseConfig failed" ) ; } int num configs = num config [ 0 ] ; if ( num configs <= 0 ) { throw new illegal argument exception ( "No configs match configSpec" ) ; } egl config [ ] configs = new egl config [ num configs ] ; if ( ! egl . egl choose config ( display , m config spec , configs , num configs , num config ) ) { throw new illegal argument exception ( "eglChooseConfig#2 failed" ) ; } egl config config = %SELF% ( egl , display , configs ) ; if ( config == null ) { throw new illegal argument exception ( "No config chosen" ) ; } return config ; } <SENTENCE_END/>


Original Name filter,config,spec

filter

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

config

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

(Copy Probability: 7.2%)

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

spec

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

(Copy Probability: 2.6%)

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>

(Copy Probability: 17.0%)

<SENTENCE_START> { if ( m egl context client version != 2 ) { return config spec ; } int len = config spec . length ; int [ ] new config spec = new int [ len + 2 ] ; system . arraycopy ( config spec , 0 , new config spec , 0 , len - 1 ) ; new config spec [ len - 1 ] = egl 10 . egl renderable type ; new config spec [ len ] = 4 ; new config spec [ len + 1 ] = egl 10 . egl none ; return new config spec ; } <SENTENCE_END/>


Original Name find,config,attrib

find

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

config

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

(Copy Probability: 92.3%)

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

attrib

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

(Copy Probability: 69.6%)

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { if ( egl . egl get config attrib ( display , config , attribute , m value ) ) { return m value [ 0 ] ; } return default value ; } <SENTENCE_END/>


Original Name start

start

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "start() tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl = ( egl 10 ) egl context . get egl ( ) ; m egl display = m egl . egl get display ( egl 10 . egl default display ) ; if ( m egl display == egl 10 . egl no display ) { throw new runtime exception ( "eglGetDisplay failed" ) ; } int [ ] version = new int [ 2 ] ; if ( ! m egl . egl initialize ( m egl display , version ) ) { throw new runtime exception ( "eglInitialize failed" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view == null ) { m egl config = null ; m egl context = null ; } else { m egl config = view . m egl config chooser . choose config ( m egl , m egl display ) ; m egl context = view . m egl context factory . create context ( m egl , m egl display , m egl config ) ; } if ( m egl context == null || m egl context == egl 10 . egl no context ) { m egl context = null ; throw egl exception ( "createContext" ) ; } if ( log egl ) { log . w ( "EglHelper" , "createContext " + m egl context + " tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl surface = null ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "start() tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl = ( egl 10 ) egl context . get egl ( ) ; m egl display = m egl . egl get display ( egl 10 . egl default display ) ; if ( m egl display == egl 10 . egl no display ) { throw new runtime exception ( "eglGetDisplay failed" ) ; } int [ ] version = new int [ 2 ] ; if ( ! m egl . egl initialize ( m egl display , version ) ) { throw new runtime exception ( "eglInitialize failed" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view == null ) { m egl config = null ; m egl context = null ; } else { m egl config = view . m egl config chooser . choose config ( m egl , m egl display ) ; m egl context = view . m egl context factory . create context ( m egl , m egl display , m egl config ) ; } if ( m egl context == null || m egl context == egl 10 . egl no context ) { m egl context = null ; throw egl exception ( "createContext" ) ; } if ( log egl ) { log . w ( "EglHelper" , "createContext " + m egl context + " tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl surface = null ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "start() tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl = ( egl 10 ) egl context . get egl ( ) ; m egl display = m egl . egl get display ( egl 10 . egl default display ) ; if ( m egl display == egl 10 . egl no display ) { throw new runtime exception ( "eglGetDisplay failed" ) ; } int [ ] version = new int [ 2 ] ; if ( ! m egl . egl initialize ( m egl display , version ) ) { throw new runtime exception ( "eglInitialize failed" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view == null ) { m egl config = null ; m egl context = null ; } else { m egl config = view . m egl config chooser . choose config ( m egl , m egl display ) ; m egl context = view . m egl context factory . create context ( m egl , m egl display , m egl config ) ; } if ( m egl context == null || m egl context == egl 10 . egl no context ) { m egl context = null ; throw egl exception ( "createContext" ) ; } if ( log egl ) { log . w ( "EglHelper" , "createContext " + m egl context + " tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl surface = null ; } <SENTENCE_END/>

(Copy Probability: 4.0%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "start() tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl = ( egl 10 ) egl context . get egl ( ) ; m egl display = m egl . egl get display ( egl 10 . egl default display ) ; if ( m egl display == egl 10 . egl no display ) { throw new runtime exception ( "eglGetDisplay failed" ) ; } int [ ] version = new int [ 2 ] ; if ( ! m egl . egl initialize ( m egl display , version ) ) { throw new runtime exception ( "eglInitialize failed" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view == null ) { m egl config = null ; m egl context = null ; } else { m egl config = view . m egl config chooser . choose config ( m egl , m egl display ) ; m egl context = view . m egl context factory . create context ( m egl , m egl display , m egl config ) ; } if ( m egl context == null || m egl context == egl 10 . egl no context ) { m egl context = null ; throw egl exception ( "createContext" ) ; } if ( log egl ) { log . w ( "EglHelper" , "createContext " + m egl context + " tid=" + thread . current thread ( ) . get id ( ) ) ; } m egl surface = null ; } <SENTENCE_END/>


Original Name create,surface

create

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "createSurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl == null ) { throw new runtime exception ( "egl not initialized" ) ; } if ( m egl display == null ) { throw new runtime exception ( "eglDisplay not initialized" ) ; } if ( m egl config == null ) { throw new runtime exception ( "mEglConfig not initialized" ) ; } destroy surface imp ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { m egl surface = view . m egl window surface factory . create window surface ( m egl , m egl display , m egl config , view . get holder ( ) ) ; } else { m egl surface = null ; } if ( m egl surface == null || m egl surface == egl 10 . egl no surface ) { int error = m egl . egl get error ( ) ; if ( error == egl 10 . egl bad native window ) { log . e ( "EglHelper" , "createWindowSurface returned EGL_BAD_NATIVE_WINDOW." ) ; } return false ; } if ( ! m egl . egl make current ( m egl display , m egl surface , m egl surface , m egl context ) ) { log egl error as warning ( "EGLHelper" , "eglMakeCurrent" , m egl . egl get error ( ) ) ; return false ; } return true ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "createSurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl == null ) { throw new runtime exception ( "egl not initialized" ) ; } if ( m egl display == null ) { throw new runtime exception ( "eglDisplay not initialized" ) ; } if ( m egl config == null ) { throw new runtime exception ( "mEglConfig not initialized" ) ; } destroy surface imp ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { m egl surface = view . m egl window surface factory . create window surface ( m egl , m egl display , m egl config , view . get holder ( ) ) ; } else { m egl surface = null ; } if ( m egl surface == null || m egl surface == egl 10 . egl no surface ) { int error = m egl . egl get error ( ) ; if ( error == egl 10 . egl bad native window ) { log . e ( "EglHelper" , "createWindowSurface returned EGL_BAD_NATIVE_WINDOW." ) ; } return false ; } if ( ! m egl . egl make current ( m egl display , m egl surface , m egl surface , m egl context ) ) { log egl error as warning ( "EGLHelper" , "eglMakeCurrent" , m egl . egl get error ( ) ) ; return false ; } return true ; } <SENTENCE_END/>

surface

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "createSurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl == null ) { throw new runtime exception ( "egl not initialized" ) ; } if ( m egl display == null ) { throw new runtime exception ( "eglDisplay not initialized" ) ; } if ( m egl config == null ) { throw new runtime exception ( "mEglConfig not initialized" ) ; } destroy surface imp ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { m egl surface = view . m egl window surface factory . create window surface ( m egl , m egl display , m egl config , view . get holder ( ) ) ; } else { m egl surface = null ; } if ( m egl surface == null || m egl surface == egl 10 . egl no surface ) { int error = m egl . egl get error ( ) ; if ( error == egl 10 . egl bad native window ) { log . e ( "EglHelper" , "createWindowSurface returned EGL_BAD_NATIVE_WINDOW." ) ; } return false ; } if ( ! m egl . egl make current ( m egl display , m egl surface , m egl surface , m egl context ) ) { log egl error as warning ( "EGLHelper" , "eglMakeCurrent" , m egl . egl get error ( ) ) ; return false ; } return true ; } <SENTENCE_END/>

(Copy Probability: 48.0%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "createSurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl == null ) { throw new runtime exception ( "egl not initialized" ) ; } if ( m egl display == null ) { throw new runtime exception ( "eglDisplay not initialized" ) ; } if ( m egl config == null ) { throw new runtime exception ( "mEglConfig not initialized" ) ; } destroy surface imp ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { m egl surface = view . m egl window surface factory . create window surface ( m egl , m egl display , m egl config , view . get holder ( ) ) ; } else { m egl surface = null ; } if ( m egl surface == null || m egl surface == egl 10 . egl no surface ) { int error = m egl . egl get error ( ) ; if ( error == egl 10 . egl bad native window ) { log . e ( "EglHelper" , "createWindowSurface returned EGL_BAD_NATIVE_WINDOW." ) ; } return false ; } if ( ! m egl . egl make current ( m egl display , m egl surface , m egl surface , m egl context ) ) { log egl error as warning ( "EGLHelper" , "eglMakeCurrent" , m egl . egl get error ( ) ) ; return false ; } return true ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "createSurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl == null ) { throw new runtime exception ( "egl not initialized" ) ; } if ( m egl display == null ) { throw new runtime exception ( "eglDisplay not initialized" ) ; } if ( m egl config == null ) { throw new runtime exception ( "mEglConfig not initialized" ) ; } destroy surface imp ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { m egl surface = view . m egl window surface factory . create window surface ( m egl , m egl display , m egl config , view . get holder ( ) ) ; } else { m egl surface = null ; } if ( m egl surface == null || m egl surface == egl 10 . egl no surface ) { int error = m egl . egl get error ( ) ; if ( error == egl 10 . egl bad native window ) { log . e ( "EglHelper" , "createWindowSurface returned EGL_BAD_NATIVE_WINDOW." ) ; } return false ; } if ( ! m egl . egl make current ( m egl display , m egl surface , m egl surface , m egl context ) ) { log egl error as warning ( "EGLHelper" , "eglMakeCurrent" , m egl . egl get error ( ) ) ; return false ; } return true ; } <SENTENCE_END/>

(Copy Probability: 79.2%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "createSurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl == null ) { throw new runtime exception ( "egl not initialized" ) ; } if ( m egl display == null ) { throw new runtime exception ( "eglDisplay not initialized" ) ; } if ( m egl config == null ) { throw new runtime exception ( "mEglConfig not initialized" ) ; } destroy surface imp ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { m egl surface = view . m egl window surface factory . create window surface ( m egl , m egl display , m egl config , view . get holder ( ) ) ; } else { m egl surface = null ; } if ( m egl surface == null || m egl surface == egl 10 . egl no surface ) { int error = m egl . egl get error ( ) ; if ( error == egl 10 . egl bad native window ) { log . e ( "EglHelper" , "createWindowSurface returned EGL_BAD_NATIVE_WINDOW." ) ; } return false ; } if ( ! m egl . egl make current ( m egl display , m egl surface , m egl surface , m egl context ) ) { log egl error as warning ( "EGLHelper" , "eglMakeCurrent" , m egl . egl get error ( ) ) ; return false ; } return true ; } <SENTENCE_END/>


Original Name create,gl

create

<SENTENCE_START> { gl gl = m egl context . get gl ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { if ( view . m gl wrapper != null ) { gl = view . m gl wrapper . wrap ( gl ) ; } if ( ( view . m debug flags & ( debug check gl error | debug log gl calls ) ) != 0 ) { int config flags = 0 ; writer log = null ; if ( ( view . m debug flags & debug check gl error ) != 0 ) { config flags |= gl debug helper . config check gl error ; } if ( ( view . m debug flags & debug log gl calls ) != 0 ) { log = new log writer ( ) ; } gl = gl debug helper . wrap ( gl , config flags , log ) ; } } return gl ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { gl gl = m egl context . get gl ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { if ( view . m gl wrapper != null ) { gl = view . m gl wrapper . wrap ( gl ) ; } if ( ( view . m debug flags & ( debug check gl error | debug log gl calls ) ) != 0 ) { int config flags = 0 ; writer log = null ; if ( ( view . m debug flags & debug check gl error ) != 0 ) { config flags |= gl debug helper . config check gl error ; } if ( ( view . m debug flags & debug log gl calls ) != 0 ) { log = new log writer ( ) ; } gl = gl debug helper . wrap ( gl , config flags , log ) ; } } return gl ; } <SENTENCE_END/>

gl

<SENTENCE_START> { gl gl = m egl context . get gl ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { if ( view . m gl wrapper != null ) { gl = view . m gl wrapper . wrap ( gl ) ; } if ( ( view . m debug flags & ( debug check gl error | debug log gl calls ) ) != 0 ) { int config flags = 0 ; writer log = null ; if ( ( view . m debug flags & debug check gl error ) != 0 ) { config flags |= gl debug helper . config check gl error ; } if ( ( view . m debug flags & debug log gl calls ) != 0 ) { log = new log writer ( ) ; } gl = gl debug helper . wrap ( gl , config flags , log ) ; } } return gl ; } <SENTENCE_END/>

(Copy Probability: 51.9%)

<SENTENCE_START> { gl gl = m egl context . get gl ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { if ( view . m gl wrapper != null ) { gl = view . m gl wrapper . wrap ( gl ) ; } if ( ( view . m debug flags & ( debug check gl error | debug log gl calls ) ) != 0 ) { int config flags = 0 ; writer log = null ; if ( ( view . m debug flags & debug check gl error ) != 0 ) { config flags |= gl debug helper . config check gl error ; } if ( ( view . m debug flags & debug log gl calls ) != 0 ) { log = new log writer ( ) ; } gl = gl debug helper . wrap ( gl , config flags , log ) ; } } return gl ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { gl gl = m egl context . get gl ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { if ( view . m gl wrapper != null ) { gl = view . m gl wrapper . wrap ( gl ) ; } if ( ( view . m debug flags & ( debug check gl error | debug log gl calls ) ) != 0 ) { int config flags = 0 ; writer log = null ; if ( ( view . m debug flags & debug check gl error ) != 0 ) { config flags |= gl debug helper . config check gl error ; } if ( ( view . m debug flags & debug log gl calls ) != 0 ) { log = new log writer ( ) ; } gl = gl debug helper . wrap ( gl , config flags , log ) ; } } return gl ; } <SENTENCE_END/>

(Copy Probability: 27.0%)

<SENTENCE_START> { gl gl = m egl context . get gl ( ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { if ( view . m gl wrapper != null ) { gl = view . m gl wrapper . wrap ( gl ) ; } if ( ( view . m debug flags & ( debug check gl error | debug log gl calls ) ) != 0 ) { int config flags = 0 ; writer log = null ; if ( ( view . m debug flags & debug check gl error ) != 0 ) { config flags |= gl debug helper . config check gl error ; } if ( ( view . m debug flags & debug log gl calls ) != 0 ) { log = new log writer ( ) ; } gl = gl debug helper . wrap ( gl , config flags , log ) ; } } return gl ; } <SENTENCE_END/>


Original Name swap

swap

<SENTENCE_START> { if ( ! m egl . egl swap buffers ( m egl display , m egl surface ) ) { return m egl . egl get error ( ) ; } return egl 10 . egl success ; } <SENTENCE_END/>

(Copy Probability: 3.7%)

<SENTENCE_START> { if ( ! m egl . egl swap buffers ( m egl display , m egl surface ) ) { return m egl . egl get error ( ) ; } return egl 10 . egl success ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( ! m egl . egl swap buffers ( m egl display , m egl surface ) ) { return m egl . egl get error ( ) ; } return egl 10 . egl success ; } <SENTENCE_END/>

(Copy Probability: 3.1%)

<SENTENCE_START> { if ( ! m egl . egl swap buffers ( m egl display , m egl surface ) ) { return m egl . egl get error ( ) ; } return egl 10 . egl success ; } <SENTENCE_END/>


Original Name destroy,surface

destroy

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "destroySurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } destroy surface imp ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "destroySurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } destroy surface imp ( ) ; } <SENTENCE_END/>

surface

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "destroySurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } destroy surface imp ( ) ; } <SENTENCE_END/>

(Copy Probability: 5.9%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "destroySurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } destroy surface imp ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "destroySurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } destroy surface imp ( ) ; } <SENTENCE_END/>

(Copy Probability: 6.4%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "destroySurface() tid=" + thread . current thread ( ) . get id ( ) ) ; } destroy surface imp ( ) ; } <SENTENCE_END/>


Original Name destroy,surface,imp

destroy

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

surface

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

(Copy Probability: 45.3%)

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

imp

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

(Copy Probability: 22.1%)

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( m egl surface != null && m egl surface != egl 10 . egl no surface ) { m egl . egl make current ( m egl display , egl 10 . egl no surface , egl 10 . egl no surface , egl 10 . egl no context ) ; gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl window surface factory . destroy surface ( m egl , m egl display , m egl surface ) ; } m egl surface = null ; } } <SENTENCE_END/>


Original Name finish

finish

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "finish() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl context != null ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl context factory . destroy context ( m egl , m egl display , m egl context ) ; } m egl context = null ; } if ( m egl display != null ) { m egl . egl terminate ( m egl display ) ; m egl display = null ; } } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "finish() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl context != null ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl context factory . destroy context ( m egl , m egl display , m egl context ) ; } m egl context = null ; } if ( m egl display != null ) { m egl . egl terminate ( m egl display ) ; m egl display = null ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "finish() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl context != null ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl context factory . destroy context ( m egl , m egl display , m egl context ) ; } m egl context = null ; } if ( m egl display != null ) { m egl . egl terminate ( m egl display ) ; m egl display = null ; } } <SENTENCE_END/>

(Copy Probability: 6.2%)

<SENTENCE_START> { if ( log egl ) { log . w ( "EglHelper" , "finish() tid=" + thread . current thread ( ) . get id ( ) ) ; } if ( m egl context != null ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m egl context factory . destroy context ( m egl , m egl display , m egl context ) ; } m egl context = null ; } if ( m egl display != null ) { m egl . egl terminate ( m egl display ) ; m egl display = null ; } } <SENTENCE_END/>


Original Name throw,egl,exception

throw

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

exception

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 3.3%)

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { %SELF% ( function , m egl . egl get error ( ) ) ; } <SENTENCE_END/>


Original Name throw,egl,exception

throw

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

(Copy Probability: 2.7%)

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

exception

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

(Copy Probability: 6.8%)

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { string message = format egl error ( function , error ) ; if ( log threads ) { log . e ( "EglHelper" , "throwEglException tid=" + thread . current thread ( ) . get id ( ) + " " + message ) ; } throw new runtime exception ( message ) ; } <SENTENCE_END/>


Original Name log,egl,error,as,warning

log

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

(Copy Probability: 5.7%)

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

error

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

as

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

warning

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { log . w ( tag , format egl error ( function , error ) ) ; } <SENTENCE_END/>


Original Name get,error,string

get

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

error

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

(Copy Probability: 80.0%)

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

string

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

(Copy Probability: 52.9%)

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { switch ( error ) { case egl 10 . egl success : return "EGL_SUCCESS" ; case egl 10 . egl not initialized : return "EGL_NOT_INITIALIZED" ; case egl 10 . egl bad access : return "EGL_BAD_ACCESS" ; case egl 10 . egl bad alloc : return "EGL_BAD_ALLOC" ; case egl 10 . egl bad attribute : return "EGL_BAD_ATTRIBUTE" ; case egl 10 . egl bad config : return "EGL_BAD_CONFIG" ; case egl 10 . egl bad context : return "EGL_BAD_CONTEXT" ; case egl 10 . egl bad current surface : return "EGL_BAD_CURRENT_SURFACE" ; case egl 10 . egl bad display : return "EGL_BAD_DISPLAY" ; case egl 10 . egl bad match : return "EGL_BAD_MATCH" ; case egl 10 . egl bad native pixmap : return "EGL_BAD_NATIVE_PIXMAP" ; case egl 10 . egl bad native window : return "EGL_BAD_NATIVE_WINDOW" ; case egl 10 . egl bad parameter : return "EGL_BAD_PARAMETER" ; case egl 10 . egl bad surface : return "EGL_BAD_SURFACE" ; case egl 11 . egl context lost : return "EGL_CONTEXT_LOST" ; default : return "0x" + integer . to hex string ( error ) ; } } <SENTENCE_END/>


Original Name format,egl,error

format

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

error

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>

(Copy Probability: 3.7%)

<SENTENCE_START> { return function + " failed: " + get error string ( error ) ; } <SENTENCE_END/>


Original Name stop,egl,surface,locked

stop

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

egl

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

(Copy Probability: 14.0%)

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

surface

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

locked

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

(Copy Probability: 20.0%)

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( m have egl surface ) { m have egl surface = false ; m egl helper . destroy surface ( ) ; } } <SENTENCE_END/>


Original Name stop,egl,context,locked

stop

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

(Copy Probability: 2.5%)

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

egl

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

(Copy Probability: 11.1%)

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

context

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

locked

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>

(Copy Probability: 3.1%)

<SENTENCE_START> { if ( m have egl context ) { m egl helper . finish ( ) ; m have egl context = false ; s gl thread manager . release egl context locked ( this ) ; } } <SENTENCE_END/>


Original Name guarded,run

guarded

<SENTENCE_START> { m egl helper = new egl helper ( m gl surface view weak ref ) ; m have egl context = false ; m have egl surface = false ; try { gl 10 gl = null ; boolean create egl context = false ; boolean create egl surface = false ; boolean create gl interface = false ; boolean lost egl context = false ; boolean size changed = false ; boolean want render notification = false ; boolean do render notification = false ; boolean asked to release egl context = false ; int w = 0 ; int h = 0 ; runnable event = null ; while ( true ) { synchronized ( s gl thread manager ) { while ( true ) { if ( m should exit ) { return ; } if ( ! m event queue . is empty ( ) ) { event = m event queue . remove ( 0 ) ; break ; } boolean pausing = false ; if ( m paused != m request paused ) { pausing = m request paused ; m paused = m request paused ; s gl thread manager . notify all ( ) ; if ( log pause resume ) { log . i ( "GLThread" , "mPaused is now " + m paused + " tid=" + get id ( ) ) ; } } if ( m should release egl context ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because asked to tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; stop egl context locked ( ) ; m should release egl context = false ; asked to release egl context = true ; } if ( lost egl context ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; lost egl context = false ; } if ( pausing && m have egl surface ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL surface because paused tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; } if ( pausing && m have egl context ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; boolean preserve egl context on pause = view == null ? false : view . m preserve egl context on pause ; if ( ! preserve egl context on pause || s gl thread manager . should release egl context when pausing ( ) ) { stop egl context locked ( ) ; if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because paused tid=" + get id ( ) ) ; } } } if ( pausing ) { if ( s gl thread manager . should terminate egl when pausing ( ) ) { m egl helper . finish ( ) ; if ( log surface ) { log . i ( "GLThread" , "terminating EGL because paused tid=" + get id ( ) ) ; } } } if ( ( ! m has surface ) && ( ! m waiting for surface ) ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface lost tid=" + get id ( ) ) ; } if ( m have egl surface ) { stop egl surface locked ( ) ; } m waiting for surface = true ; m surface is bad = false ; s gl thread manager . notify all ( ) ; } if ( m has surface && m waiting for surface ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface acquired tid=" + get id ( ) ) ; } m waiting for surface = false ; s gl thread manager . notify all ( ) ; } if ( do render notification ) { if ( log surface ) { log . i ( "GLThread" , "sending render notification tid=" + get id ( ) ) ; } want render notification = false ; do render notification = false ; m render complete = true ; s gl thread manager . notify all ( ) ; } if ( ready to draw ( ) ) { if ( ! m have egl context ) { if ( asked to release egl context ) { asked to release egl context = false ; } else if ( s gl thread manager . try acquire egl context locked ( this ) ) { try { m egl helper . start ( ) ; } catch ( runtime exception t ) { s gl thread manager . release egl context locked ( this ) ; throw t ; } m have egl context = true ; create egl context = true ; s gl thread manager . notify all ( ) ; } } if ( m have egl context && ! m have egl surface ) { m have egl surface = true ; create egl surface = true ; create gl interface = true ; size changed = true ; } if ( m have egl surface ) { if ( m size changed ) { size changed = true ; w = m width ; h = m height ; want render notification = true ; if ( log surface ) { log . i ( "GLThread" , "noticing that we want render notification tid=" + get id ( ) ) ; } create egl surface = true ; m size changed = false ; } m request render = false ; s gl thread manager . notify all ( ) ; break ; } } if ( log threads ) { log . i ( "GLThread" , "waiting tid=" + get id ( ) + " mHaveEglContext: " + m have egl context + " mHaveEglSurface: " + m have egl surface + " mFinishedCreatingEglSurface: " + m finished creating egl surface + " mPaused: " + m paused + " mHasSurface: " + m has surface + " mSurfaceIsBad: " + m surface is bad + " mWaitingForSurface: " + m waiting for surface + " mWidth: " + m width + " mHeight: " + m height + " mRequestRender: " + m request render + " mRenderMode: " + m render mode ) ; } s gl thread manager . wait ( ) ; } } if ( event != null ) { event . run ( ) ; event = null ; continue ; } if ( create egl surface ) { if ( log surface ) { log . w ( "GLThread" , "egl createSurface" ) ; } if ( m egl helper . create surface ( ) ) { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; s gl thread manager . notify all ( ) ; } } else { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; m surface is bad = true ; s gl thread manager . notify all ( ) ; } continue ; } create egl surface = false ; } if ( create gl interface ) { gl = ( gl 10 ) m egl helper . create gl ( ) ; s gl thread manager . check gl driver ( gl ) ; create gl interface = false ; } if ( create egl context ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceCreated" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface created ( gl , m egl helper . m egl config ) ; } create egl context = false ; } if ( size changed ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceChanged(" + w + ", " + h + ")" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface changed ( gl , w , h ) ; } size changed = false ; } if ( log renderer draw frame ) { log . w ( "GLThread" , "onDrawFrame tid=" + get id ( ) ) ; } { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on draw frame ( gl ) ; } } int swap error = m egl helper . swap ( ) ; switch ( swap error ) { case egl 10 . egl success : break ; case egl 11 . egl context lost : if ( log surface ) { log . i ( "GLThread" , "egl context lost tid=" + get id ( ) ) ; } lost egl context = true ; break ; default : egl helper . log egl error as warning ( "GLThread" , "eglSwapBuffers" , swap error ) ; synchronized ( s gl thread manager ) { m surface is bad = true ; s gl thread manager . notify all ( ) ; } break ; } if ( want render notification ) { do render notification = true ; } } } finally { synchronized ( s gl thread manager ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; } } } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { m egl helper = new egl helper ( m gl surface view weak ref ) ; m have egl context = false ; m have egl surface = false ; try { gl 10 gl = null ; boolean create egl context = false ; boolean create egl surface = false ; boolean create gl interface = false ; boolean lost egl context = false ; boolean size changed = false ; boolean want render notification = false ; boolean do render notification = false ; boolean asked to release egl context = false ; int w = 0 ; int h = 0 ; runnable event = null ; while ( true ) { synchronized ( s gl thread manager ) { while ( true ) { if ( m should exit ) { return ; } if ( ! m event queue . is empty ( ) ) { event = m event queue . remove ( 0 ) ; break ; } boolean pausing = false ; if ( m paused != m request paused ) { pausing = m request paused ; m paused = m request paused ; s gl thread manager . notify all ( ) ; if ( log pause resume ) { log . i ( "GLThread" , "mPaused is now " + m paused + " tid=" + get id ( ) ) ; } } if ( m should release egl context ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because asked to tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; stop egl context locked ( ) ; m should release egl context = false ; asked to release egl context = true ; } if ( lost egl context ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; lost egl context = false ; } if ( pausing && m have egl surface ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL surface because paused tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; } if ( pausing && m have egl context ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; boolean preserve egl context on pause = view == null ? false : view . m preserve egl context on pause ; if ( ! preserve egl context on pause || s gl thread manager . should release egl context when pausing ( ) ) { stop egl context locked ( ) ; if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because paused tid=" + get id ( ) ) ; } } } if ( pausing ) { if ( s gl thread manager . should terminate egl when pausing ( ) ) { m egl helper . finish ( ) ; if ( log surface ) { log . i ( "GLThread" , "terminating EGL because paused tid=" + get id ( ) ) ; } } } if ( ( ! m has surface ) && ( ! m waiting for surface ) ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface lost tid=" + get id ( ) ) ; } if ( m have egl surface ) { stop egl surface locked ( ) ; } m waiting for surface = true ; m surface is bad = false ; s gl thread manager . notify all ( ) ; } if ( m has surface && m waiting for surface ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface acquired tid=" + get id ( ) ) ; } m waiting for surface = false ; s gl thread manager . notify all ( ) ; } if ( do render notification ) { if ( log surface ) { log . i ( "GLThread" , "sending render notification tid=" + get id ( ) ) ; } want render notification = false ; do render notification = false ; m render complete = true ; s gl thread manager . notify all ( ) ; } if ( ready to draw ( ) ) { if ( ! m have egl context ) { if ( asked to release egl context ) { asked to release egl context = false ; } else if ( s gl thread manager . try acquire egl context locked ( this ) ) { try { m egl helper . start ( ) ; } catch ( runtime exception t ) { s gl thread manager . release egl context locked ( this ) ; throw t ; } m have egl context = true ; create egl context = true ; s gl thread manager . notify all ( ) ; } } if ( m have egl context && ! m have egl surface ) { m have egl surface = true ; create egl surface = true ; create gl interface = true ; size changed = true ; } if ( m have egl surface ) { if ( m size changed ) { size changed = true ; w = m width ; h = m height ; want render notification = true ; if ( log surface ) { log . i ( "GLThread" , "noticing that we want render notification tid=" + get id ( ) ) ; } create egl surface = true ; m size changed = false ; } m request render = false ; s gl thread manager . notify all ( ) ; break ; } } if ( log threads ) { log . i ( "GLThread" , "waiting tid=" + get id ( ) + " mHaveEglContext: " + m have egl context + " mHaveEglSurface: " + m have egl surface + " mFinishedCreatingEglSurface: " + m finished creating egl surface + " mPaused: " + m paused + " mHasSurface: " + m has surface + " mSurfaceIsBad: " + m surface is bad + " mWaitingForSurface: " + m waiting for surface + " mWidth: " + m width + " mHeight: " + m height + " mRequestRender: " + m request render + " mRenderMode: " + m render mode ) ; } s gl thread manager . wait ( ) ; } } if ( event != null ) { event . run ( ) ; event = null ; continue ; } if ( create egl surface ) { if ( log surface ) { log . w ( "GLThread" , "egl createSurface" ) ; } if ( m egl helper . create surface ( ) ) { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; s gl thread manager . notify all ( ) ; } } else { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; m surface is bad = true ; s gl thread manager . notify all ( ) ; } continue ; } create egl surface = false ; } if ( create gl interface ) { gl = ( gl 10 ) m egl helper . create gl ( ) ; s gl thread manager . check gl driver ( gl ) ; create gl interface = false ; } if ( create egl context ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceCreated" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface created ( gl , m egl helper . m egl config ) ; } create egl context = false ; } if ( size changed ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceChanged(" + w + ", " + h + ")" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface changed ( gl , w , h ) ; } size changed = false ; } if ( log renderer draw frame ) { log . w ( "GLThread" , "onDrawFrame tid=" + get id ( ) ) ; } { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on draw frame ( gl ) ; } } int swap error = m egl helper . swap ( ) ; switch ( swap error ) { case egl 10 . egl success : break ; case egl 11 . egl context lost : if ( log surface ) { log . i ( "GLThread" , "egl context lost tid=" + get id ( ) ) ; } lost egl context = true ; break ; default : egl helper . log egl error as warning ( "GLThread" , "eglSwapBuffers" , swap error ) ; synchronized ( s gl thread manager ) { m surface is bad = true ; s gl thread manager . notify all ( ) ; } break ; } if ( want render notification ) { do render notification = true ; } } } finally { synchronized ( s gl thread manager ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; } } } <SENTENCE_END/>

run

<SENTENCE_START> { m egl helper = new egl helper ( m gl surface view weak ref ) ; m have egl context = false ; m have egl surface = false ; try { gl 10 gl = null ; boolean create egl context = false ; boolean create egl surface = false ; boolean create gl interface = false ; boolean lost egl context = false ; boolean size changed = false ; boolean want render notification = false ; boolean do render notification = false ; boolean asked to release egl context = false ; int w = 0 ; int h = 0 ; runnable event = null ; while ( true ) { synchronized ( s gl thread manager ) { while ( true ) { if ( m should exit ) { return ; } if ( ! m event queue . is empty ( ) ) { event = m event queue . remove ( 0 ) ; break ; } boolean pausing = false ; if ( m paused != m request paused ) { pausing = m request paused ; m paused = m request paused ; s gl thread manager . notify all ( ) ; if ( log pause resume ) { log . i ( "GLThread" , "mPaused is now " + m paused + " tid=" + get id ( ) ) ; } } if ( m should release egl context ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because asked to tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; stop egl context locked ( ) ; m should release egl context = false ; asked to release egl context = true ; } if ( lost egl context ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; lost egl context = false ; } if ( pausing && m have egl surface ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL surface because paused tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; } if ( pausing && m have egl context ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; boolean preserve egl context on pause = view == null ? false : view . m preserve egl context on pause ; if ( ! preserve egl context on pause || s gl thread manager . should release egl context when pausing ( ) ) { stop egl context locked ( ) ; if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because paused tid=" + get id ( ) ) ; } } } if ( pausing ) { if ( s gl thread manager . should terminate egl when pausing ( ) ) { m egl helper . finish ( ) ; if ( log surface ) { log . i ( "GLThread" , "terminating EGL because paused tid=" + get id ( ) ) ; } } } if ( ( ! m has surface ) && ( ! m waiting for surface ) ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface lost tid=" + get id ( ) ) ; } if ( m have egl surface ) { stop egl surface locked ( ) ; } m waiting for surface = true ; m surface is bad = false ; s gl thread manager . notify all ( ) ; } if ( m has surface && m waiting for surface ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface acquired tid=" + get id ( ) ) ; } m waiting for surface = false ; s gl thread manager . notify all ( ) ; } if ( do render notification ) { if ( log surface ) { log . i ( "GLThread" , "sending render notification tid=" + get id ( ) ) ; } want render notification = false ; do render notification = false ; m render complete = true ; s gl thread manager . notify all ( ) ; } if ( ready to draw ( ) ) { if ( ! m have egl context ) { if ( asked to release egl context ) { asked to release egl context = false ; } else if ( s gl thread manager . try acquire egl context locked ( this ) ) { try { m egl helper . start ( ) ; } catch ( runtime exception t ) { s gl thread manager . release egl context locked ( this ) ; throw t ; } m have egl context = true ; create egl context = true ; s gl thread manager . notify all ( ) ; } } if ( m have egl context && ! m have egl surface ) { m have egl surface = true ; create egl surface = true ; create gl interface = true ; size changed = true ; } if ( m have egl surface ) { if ( m size changed ) { size changed = true ; w = m width ; h = m height ; want render notification = true ; if ( log surface ) { log . i ( "GLThread" , "noticing that we want render notification tid=" + get id ( ) ) ; } create egl surface = true ; m size changed = false ; } m request render = false ; s gl thread manager . notify all ( ) ; break ; } } if ( log threads ) { log . i ( "GLThread" , "waiting tid=" + get id ( ) + " mHaveEglContext: " + m have egl context + " mHaveEglSurface: " + m have egl surface + " mFinishedCreatingEglSurface: " + m finished creating egl surface + " mPaused: " + m paused + " mHasSurface: " + m has surface + " mSurfaceIsBad: " + m surface is bad + " mWaitingForSurface: " + m waiting for surface + " mWidth: " + m width + " mHeight: " + m height + " mRequestRender: " + m request render + " mRenderMode: " + m render mode ) ; } s gl thread manager . wait ( ) ; } } if ( event != null ) { event . run ( ) ; event = null ; continue ; } if ( create egl surface ) { if ( log surface ) { log . w ( "GLThread" , "egl createSurface" ) ; } if ( m egl helper . create surface ( ) ) { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; s gl thread manager . notify all ( ) ; } } else { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; m surface is bad = true ; s gl thread manager . notify all ( ) ; } continue ; } create egl surface = false ; } if ( create gl interface ) { gl = ( gl 10 ) m egl helper . create gl ( ) ; s gl thread manager . check gl driver ( gl ) ; create gl interface = false ; } if ( create egl context ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceCreated" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface created ( gl , m egl helper . m egl config ) ; } create egl context = false ; } if ( size changed ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceChanged(" + w + ", " + h + ")" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface changed ( gl , w , h ) ; } size changed = false ; } if ( log renderer draw frame ) { log . w ( "GLThread" , "onDrawFrame tid=" + get id ( ) ) ; } { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on draw frame ( gl ) ; } } int swap error = m egl helper . swap ( ) ; switch ( swap error ) { case egl 10 . egl success : break ; case egl 11 . egl context lost : if ( log surface ) { log . i ( "GLThread" , "egl context lost tid=" + get id ( ) ) ; } lost egl context = true ; break ; default : egl helper . log egl error as warning ( "GLThread" , "eglSwapBuffers" , swap error ) ; synchronized ( s gl thread manager ) { m surface is bad = true ; s gl thread manager . notify all ( ) ; } break ; } if ( want render notification ) { do render notification = true ; } } } finally { synchronized ( s gl thread manager ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; } } } <SENTENCE_END/>

(Copy Probability: 5.9%)

<SENTENCE_START> { m egl helper = new egl helper ( m gl surface view weak ref ) ; m have egl context = false ; m have egl surface = false ; try { gl 10 gl = null ; boolean create egl context = false ; boolean create egl surface = false ; boolean create gl interface = false ; boolean lost egl context = false ; boolean size changed = false ; boolean want render notification = false ; boolean do render notification = false ; boolean asked to release egl context = false ; int w = 0 ; int h = 0 ; runnable event = null ; while ( true ) { synchronized ( s gl thread manager ) { while ( true ) { if ( m should exit ) { return ; } if ( ! m event queue . is empty ( ) ) { event = m event queue . remove ( 0 ) ; break ; } boolean pausing = false ; if ( m paused != m request paused ) { pausing = m request paused ; m paused = m request paused ; s gl thread manager . notify all ( ) ; if ( log pause resume ) { log . i ( "GLThread" , "mPaused is now " + m paused + " tid=" + get id ( ) ) ; } } if ( m should release egl context ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because asked to tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; stop egl context locked ( ) ; m should release egl context = false ; asked to release egl context = true ; } if ( lost egl context ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; lost egl context = false ; } if ( pausing && m have egl surface ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL surface because paused tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; } if ( pausing && m have egl context ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; boolean preserve egl context on pause = view == null ? false : view . m preserve egl context on pause ; if ( ! preserve egl context on pause || s gl thread manager . should release egl context when pausing ( ) ) { stop egl context locked ( ) ; if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because paused tid=" + get id ( ) ) ; } } } if ( pausing ) { if ( s gl thread manager . should terminate egl when pausing ( ) ) { m egl helper . finish ( ) ; if ( log surface ) { log . i ( "GLThread" , "terminating EGL because paused tid=" + get id ( ) ) ; } } } if ( ( ! m has surface ) && ( ! m waiting for surface ) ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface lost tid=" + get id ( ) ) ; } if ( m have egl surface ) { stop egl surface locked ( ) ; } m waiting for surface = true ; m surface is bad = false ; s gl thread manager . notify all ( ) ; } if ( m has surface && m waiting for surface ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface acquired tid=" + get id ( ) ) ; } m waiting for surface = false ; s gl thread manager . notify all ( ) ; } if ( do render notification ) { if ( log surface ) { log . i ( "GLThread" , "sending render notification tid=" + get id ( ) ) ; } want render notification = false ; do render notification = false ; m render complete = true ; s gl thread manager . notify all ( ) ; } if ( ready to draw ( ) ) { if ( ! m have egl context ) { if ( asked to release egl context ) { asked to release egl context = false ; } else if ( s gl thread manager . try acquire egl context locked ( this ) ) { try { m egl helper . start ( ) ; } catch ( runtime exception t ) { s gl thread manager . release egl context locked ( this ) ; throw t ; } m have egl context = true ; create egl context = true ; s gl thread manager . notify all ( ) ; } } if ( m have egl context && ! m have egl surface ) { m have egl surface = true ; create egl surface = true ; create gl interface = true ; size changed = true ; } if ( m have egl surface ) { if ( m size changed ) { size changed = true ; w = m width ; h = m height ; want render notification = true ; if ( log surface ) { log . i ( "GLThread" , "noticing that we want render notification tid=" + get id ( ) ) ; } create egl surface = true ; m size changed = false ; } m request render = false ; s gl thread manager . notify all ( ) ; break ; } } if ( log threads ) { log . i ( "GLThread" , "waiting tid=" + get id ( ) + " mHaveEglContext: " + m have egl context + " mHaveEglSurface: " + m have egl surface + " mFinishedCreatingEglSurface: " + m finished creating egl surface + " mPaused: " + m paused + " mHasSurface: " + m has surface + " mSurfaceIsBad: " + m surface is bad + " mWaitingForSurface: " + m waiting for surface + " mWidth: " + m width + " mHeight: " + m height + " mRequestRender: " + m request render + " mRenderMode: " + m render mode ) ; } s gl thread manager . wait ( ) ; } } if ( event != null ) { event . run ( ) ; event = null ; continue ; } if ( create egl surface ) { if ( log surface ) { log . w ( "GLThread" , "egl createSurface" ) ; } if ( m egl helper . create surface ( ) ) { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; s gl thread manager . notify all ( ) ; } } else { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; m surface is bad = true ; s gl thread manager . notify all ( ) ; } continue ; } create egl surface = false ; } if ( create gl interface ) { gl = ( gl 10 ) m egl helper . create gl ( ) ; s gl thread manager . check gl driver ( gl ) ; create gl interface = false ; } if ( create egl context ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceCreated" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface created ( gl , m egl helper . m egl config ) ; } create egl context = false ; } if ( size changed ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceChanged(" + w + ", " + h + ")" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface changed ( gl , w , h ) ; } size changed = false ; } if ( log renderer draw frame ) { log . w ( "GLThread" , "onDrawFrame tid=" + get id ( ) ) ; } { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on draw frame ( gl ) ; } } int swap error = m egl helper . swap ( ) ; switch ( swap error ) { case egl 10 . egl success : break ; case egl 11 . egl context lost : if ( log surface ) { log . i ( "GLThread" , "egl context lost tid=" + get id ( ) ) ; } lost egl context = true ; break ; default : egl helper . log egl error as warning ( "GLThread" , "eglSwapBuffers" , swap error ) ; synchronized ( s gl thread manager ) { m surface is bad = true ; s gl thread manager . notify all ( ) ; } break ; } if ( want render notification ) { do render notification = true ; } } } finally { synchronized ( s gl thread manager ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { m egl helper = new egl helper ( m gl surface view weak ref ) ; m have egl context = false ; m have egl surface = false ; try { gl 10 gl = null ; boolean create egl context = false ; boolean create egl surface = false ; boolean create gl interface = false ; boolean lost egl context = false ; boolean size changed = false ; boolean want render notification = false ; boolean do render notification = false ; boolean asked to release egl context = false ; int w = 0 ; int h = 0 ; runnable event = null ; while ( true ) { synchronized ( s gl thread manager ) { while ( true ) { if ( m should exit ) { return ; } if ( ! m event queue . is empty ( ) ) { event = m event queue . remove ( 0 ) ; break ; } boolean pausing = false ; if ( m paused != m request paused ) { pausing = m request paused ; m paused = m request paused ; s gl thread manager . notify all ( ) ; if ( log pause resume ) { log . i ( "GLThread" , "mPaused is now " + m paused + " tid=" + get id ( ) ) ; } } if ( m should release egl context ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because asked to tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; stop egl context locked ( ) ; m should release egl context = false ; asked to release egl context = true ; } if ( lost egl context ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; lost egl context = false ; } if ( pausing && m have egl surface ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL surface because paused tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; } if ( pausing && m have egl context ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; boolean preserve egl context on pause = view == null ? false : view . m preserve egl context on pause ; if ( ! preserve egl context on pause || s gl thread manager . should release egl context when pausing ( ) ) { stop egl context locked ( ) ; if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because paused tid=" + get id ( ) ) ; } } } if ( pausing ) { if ( s gl thread manager . should terminate egl when pausing ( ) ) { m egl helper . finish ( ) ; if ( log surface ) { log . i ( "GLThread" , "terminating EGL because paused tid=" + get id ( ) ) ; } } } if ( ( ! m has surface ) && ( ! m waiting for surface ) ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface lost tid=" + get id ( ) ) ; } if ( m have egl surface ) { stop egl surface locked ( ) ; } m waiting for surface = true ; m surface is bad = false ; s gl thread manager . notify all ( ) ; } if ( m has surface && m waiting for surface ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface acquired tid=" + get id ( ) ) ; } m waiting for surface = false ; s gl thread manager . notify all ( ) ; } if ( do render notification ) { if ( log surface ) { log . i ( "GLThread" , "sending render notification tid=" + get id ( ) ) ; } want render notification = false ; do render notification = false ; m render complete = true ; s gl thread manager . notify all ( ) ; } if ( ready to draw ( ) ) { if ( ! m have egl context ) { if ( asked to release egl context ) { asked to release egl context = false ; } else if ( s gl thread manager . try acquire egl context locked ( this ) ) { try { m egl helper . start ( ) ; } catch ( runtime exception t ) { s gl thread manager . release egl context locked ( this ) ; throw t ; } m have egl context = true ; create egl context = true ; s gl thread manager . notify all ( ) ; } } if ( m have egl context && ! m have egl surface ) { m have egl surface = true ; create egl surface = true ; create gl interface = true ; size changed = true ; } if ( m have egl surface ) { if ( m size changed ) { size changed = true ; w = m width ; h = m height ; want render notification = true ; if ( log surface ) { log . i ( "GLThread" , "noticing that we want render notification tid=" + get id ( ) ) ; } create egl surface = true ; m size changed = false ; } m request render = false ; s gl thread manager . notify all ( ) ; break ; } } if ( log threads ) { log . i ( "GLThread" , "waiting tid=" + get id ( ) + " mHaveEglContext: " + m have egl context + " mHaveEglSurface: " + m have egl surface + " mFinishedCreatingEglSurface: " + m finished creating egl surface + " mPaused: " + m paused + " mHasSurface: " + m has surface + " mSurfaceIsBad: " + m surface is bad + " mWaitingForSurface: " + m waiting for surface + " mWidth: " + m width + " mHeight: " + m height + " mRequestRender: " + m request render + " mRenderMode: " + m render mode ) ; } s gl thread manager . wait ( ) ; } } if ( event != null ) { event . run ( ) ; event = null ; continue ; } if ( create egl surface ) { if ( log surface ) { log . w ( "GLThread" , "egl createSurface" ) ; } if ( m egl helper . create surface ( ) ) { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; s gl thread manager . notify all ( ) ; } } else { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; m surface is bad = true ; s gl thread manager . notify all ( ) ; } continue ; } create egl surface = false ; } if ( create gl interface ) { gl = ( gl 10 ) m egl helper . create gl ( ) ; s gl thread manager . check gl driver ( gl ) ; create gl interface = false ; } if ( create egl context ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceCreated" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface created ( gl , m egl helper . m egl config ) ; } create egl context = false ; } if ( size changed ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceChanged(" + w + ", " + h + ")" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface changed ( gl , w , h ) ; } size changed = false ; } if ( log renderer draw frame ) { log . w ( "GLThread" , "onDrawFrame tid=" + get id ( ) ) ; } { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on draw frame ( gl ) ; } } int swap error = m egl helper . swap ( ) ; switch ( swap error ) { case egl 10 . egl success : break ; case egl 11 . egl context lost : if ( log surface ) { log . i ( "GLThread" , "egl context lost tid=" + get id ( ) ) ; } lost egl context = true ; break ; default : egl helper . log egl error as warning ( "GLThread" , "eglSwapBuffers" , swap error ) ; synchronized ( s gl thread manager ) { m surface is bad = true ; s gl thread manager . notify all ( ) ; } break ; } if ( want render notification ) { do render notification = true ; } } } finally { synchronized ( s gl thread manager ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; } } } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { m egl helper = new egl helper ( m gl surface view weak ref ) ; m have egl context = false ; m have egl surface = false ; try { gl 10 gl = null ; boolean create egl context = false ; boolean create egl surface = false ; boolean create gl interface = false ; boolean lost egl context = false ; boolean size changed = false ; boolean want render notification = false ; boolean do render notification = false ; boolean asked to release egl context = false ; int w = 0 ; int h = 0 ; runnable event = null ; while ( true ) { synchronized ( s gl thread manager ) { while ( true ) { if ( m should exit ) { return ; } if ( ! m event queue . is empty ( ) ) { event = m event queue . remove ( 0 ) ; break ; } boolean pausing = false ; if ( m paused != m request paused ) { pausing = m request paused ; m paused = m request paused ; s gl thread manager . notify all ( ) ; if ( log pause resume ) { log . i ( "GLThread" , "mPaused is now " + m paused + " tid=" + get id ( ) ) ; } } if ( m should release egl context ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because asked to tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; stop egl context locked ( ) ; m should release egl context = false ; asked to release egl context = true ; } if ( lost egl context ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; lost egl context = false ; } if ( pausing && m have egl surface ) { if ( log surface ) { log . i ( "GLThread" , "releasing EGL surface because paused tid=" + get id ( ) ) ; } stop egl surface locked ( ) ; } if ( pausing && m have egl context ) { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; boolean preserve egl context on pause = view == null ? false : view . m preserve egl context on pause ; if ( ! preserve egl context on pause || s gl thread manager . should release egl context when pausing ( ) ) { stop egl context locked ( ) ; if ( log surface ) { log . i ( "GLThread" , "releasing EGL context because paused tid=" + get id ( ) ) ; } } } if ( pausing ) { if ( s gl thread manager . should terminate egl when pausing ( ) ) { m egl helper . finish ( ) ; if ( log surface ) { log . i ( "GLThread" , "terminating EGL because paused tid=" + get id ( ) ) ; } } } if ( ( ! m has surface ) && ( ! m waiting for surface ) ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface lost tid=" + get id ( ) ) ; } if ( m have egl surface ) { stop egl surface locked ( ) ; } m waiting for surface = true ; m surface is bad = false ; s gl thread manager . notify all ( ) ; } if ( m has surface && m waiting for surface ) { if ( log surface ) { log . i ( "GLThread" , "noticed surfaceView surface acquired tid=" + get id ( ) ) ; } m waiting for surface = false ; s gl thread manager . notify all ( ) ; } if ( do render notification ) { if ( log surface ) { log . i ( "GLThread" , "sending render notification tid=" + get id ( ) ) ; } want render notification = false ; do render notification = false ; m render complete = true ; s gl thread manager . notify all ( ) ; } if ( ready to draw ( ) ) { if ( ! m have egl context ) { if ( asked to release egl context ) { asked to release egl context = false ; } else if ( s gl thread manager . try acquire egl context locked ( this ) ) { try { m egl helper . start ( ) ; } catch ( runtime exception t ) { s gl thread manager . release egl context locked ( this ) ; throw t ; } m have egl context = true ; create egl context = true ; s gl thread manager . notify all ( ) ; } } if ( m have egl context && ! m have egl surface ) { m have egl surface = true ; create egl surface = true ; create gl interface = true ; size changed = true ; } if ( m have egl surface ) { if ( m size changed ) { size changed = true ; w = m width ; h = m height ; want render notification = true ; if ( log surface ) { log . i ( "GLThread" , "noticing that we want render notification tid=" + get id ( ) ) ; } create egl surface = true ; m size changed = false ; } m request render = false ; s gl thread manager . notify all ( ) ; break ; } } if ( log threads ) { log . i ( "GLThread" , "waiting tid=" + get id ( ) + " mHaveEglContext: " + m have egl context + " mHaveEglSurface: " + m have egl surface + " mFinishedCreatingEglSurface: " + m finished creating egl surface + " mPaused: " + m paused + " mHasSurface: " + m has surface + " mSurfaceIsBad: " + m surface is bad + " mWaitingForSurface: " + m waiting for surface + " mWidth: " + m width + " mHeight: " + m height + " mRequestRender: " + m request render + " mRenderMode: " + m render mode ) ; } s gl thread manager . wait ( ) ; } } if ( event != null ) { event . run ( ) ; event = null ; continue ; } if ( create egl surface ) { if ( log surface ) { log . w ( "GLThread" , "egl createSurface" ) ; } if ( m egl helper . create surface ( ) ) { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; s gl thread manager . notify all ( ) ; } } else { synchronized ( s gl thread manager ) { m finished creating egl surface = true ; m surface is bad = true ; s gl thread manager . notify all ( ) ; } continue ; } create egl surface = false ; } if ( create gl interface ) { gl = ( gl 10 ) m egl helper . create gl ( ) ; s gl thread manager . check gl driver ( gl ) ; create gl interface = false ; } if ( create egl context ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceCreated" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface created ( gl , m egl helper . m egl config ) ; } create egl context = false ; } if ( size changed ) { if ( log renderer ) { log . w ( "GLThread" , "onSurfaceChanged(" + w + ", " + h + ")" ) ; } gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on surface changed ( gl , w , h ) ; } size changed = false ; } if ( log renderer draw frame ) { log . w ( "GLThread" , "onDrawFrame tid=" + get id ( ) ) ; } { gl surface view api 18 view = m gl surface view weak ref . get ( ) ; if ( view != null ) { view . m renderer . on draw frame ( gl ) ; } } int swap error = m egl helper . swap ( ) ; switch ( swap error ) { case egl 10 . egl success : break ; case egl 11 . egl context lost : if ( log surface ) { log . i ( "GLThread" , "egl context lost tid=" + get id ( ) ) ; } lost egl context = true ; break ; default : egl helper . log egl error as warning ( "GLThread" , "eglSwapBuffers" , swap error ) ; synchronized ( s gl thread manager ) { m surface is bad = true ; s gl thread manager . notify all ( ) ; } break ; } if ( want render notification ) { do render notification = true ; } } } finally { synchronized ( s gl thread manager ) { stop egl surface locked ( ) ; stop egl context locked ( ) ; } } } <SENTENCE_END/>


Original Name able,to,draw

able

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

to

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

(Copy Probability: 4.9%)

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

draw

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

(Copy Probability: 19.2%)

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>

(Copy Probability: 13.0%)

<SENTENCE_START> { return m have egl context && m have egl surface && ready to draw ( ) ; } <SENTENCE_END/>


Original Name ready,to,draw

ready

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

to

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

(Copy Probability: 5.0%)

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

draw

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

(Copy Probability: 19.0%)

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>

(Copy Probability: 11.0%)

<SENTENCE_START> { return ( ! m paused ) && m has surface && ( ! m surface is bad ) && ( m width > 0 ) && ( m height > 0 ) && ( m request render || ( m render mode == rendermode continuously ) ) ; } <SENTENCE_END/>


Original Name set,render,mode

set

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

render

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 96.6%)

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

mode

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 88.3%)

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( ! ( ( rendermode when dirty <= render mode ) && ( render mode <= rendermode continuously ) ) ) { throw new illegal argument exception ( "renderMode" ) ; } synchronized ( s gl thread manager ) { m render mode = render mode ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>


Original Name get,render,mode

get

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

render

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

(Copy Probability: 98.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

mode

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

(Copy Probability: 98.5%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { return m render mode ; } } <SENTENCE_END/>


Original Name request,render

request

<SENTENCE_START> { synchronized ( s gl thread manager ) { m request render = true ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m request render = true ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

render

<SENTENCE_START> { synchronized ( s gl thread manager ) { m request render = true ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 14.6%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m request render = true ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { m request render = true ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 10.0%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m request render = true ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>


Original Name surface,created

surface

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceCreated tid=" + get id ( ) ) ; } m has surface = true ; m finished creating egl surface = false ; s gl thread manager . notify all ( ) ; while ( m waiting for surface && ! m finished creating egl surface && ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceCreated tid=" + get id ( ) ) ; } m has surface = true ; m finished creating egl surface = false ; s gl thread manager . notify all ( ) ; while ( m waiting for surface && ! m finished creating egl surface && ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

created

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceCreated tid=" + get id ( ) ) ; } m has surface = true ; m finished creating egl surface = false ; s gl thread manager . notify all ( ) ; while ( m waiting for surface && ! m finished creating egl surface && ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 42.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceCreated tid=" + get id ( ) ) ; } m has surface = true ; m finished creating egl surface = false ; s gl thread manager . notify all ( ) ; while ( m waiting for surface && ! m finished creating egl surface && ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceCreated tid=" + get id ( ) ) ; } m has surface = true ; m finished creating egl surface = false ; s gl thread manager . notify all ( ) ; while ( m waiting for surface && ! m finished creating egl surface && ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceCreated tid=" + get id ( ) ) ; } m has surface = true ; m finished creating egl surface = false ; s gl thread manager . notify all ( ) ; while ( m waiting for surface && ! m finished creating egl surface && ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>


Original Name surface,destroyed

surface

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceDestroyed tid=" + get id ( ) ) ; } m has surface = false ; s gl thread manager . notify all ( ) ; while ( ( ! m waiting for surface ) && ( ! m exited ) ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceDestroyed tid=" + get id ( ) ) ; } m has surface = false ; s gl thread manager . notify all ( ) ; while ( ( ! m waiting for surface ) && ( ! m exited ) ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

destroyed

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceDestroyed tid=" + get id ( ) ) ; } m has surface = false ; s gl thread manager . notify all ( ) ; while ( ( ! m waiting for surface ) && ( ! m exited ) ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 41.8%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceDestroyed tid=" + get id ( ) ) ; } m has surface = false ; s gl thread manager . notify all ( ) ; while ( ( ! m waiting for surface ) && ( ! m exited ) ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceDestroyed tid=" + get id ( ) ) ; } m has surface = false ; s gl thread manager . notify all ( ) ; while ( ( ! m waiting for surface ) && ( ! m exited ) ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log threads ) { log . i ( "GLThread" , "surfaceDestroyed tid=" + get id ( ) ) ; } m has surface = false ; s gl thread manager . notify all ( ) ; while ( ( ! m waiting for surface ) && ( ! m exited ) ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception e ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>


Original Name on,pause

on

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onPause tid=" + get id ( ) ) ; } m request paused = true ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && ( ! m paused ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onPause waiting for mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onPause tid=" + get id ( ) ) ; } m request paused = true ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && ( ! m paused ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onPause waiting for mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

pause

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onPause tid=" + get id ( ) ) ; } m request paused = true ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && ( ! m paused ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onPause waiting for mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 27.0%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onPause tid=" + get id ( ) ) ; } m request paused = true ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && ( ! m paused ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onPause waiting for mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onPause tid=" + get id ( ) ) ; } m request paused = true ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && ( ! m paused ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onPause waiting for mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 14.9%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onPause tid=" + get id ( ) ) ; } m request paused = true ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && ( ! m paused ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onPause waiting for mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>


Original Name on,resume

on

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onResume tid=" + get id ( ) ) ; } m request paused = false ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && m paused && ( ! m render complete ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onResume waiting for !mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onResume tid=" + get id ( ) ) ; } m request paused = false ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && m paused && ( ! m render complete ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onResume waiting for !mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

resume

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onResume tid=" + get id ( ) ) ; } m request paused = false ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && m paused && ( ! m render complete ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onResume waiting for !mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 27.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onResume tid=" + get id ( ) ) ; } m request paused = false ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && m paused && ( ! m render complete ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onResume waiting for !mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onResume tid=" + get id ( ) ) ; } m request paused = false ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && m paused && ( ! m render complete ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onResume waiting for !mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 9.9%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { if ( log pause resume ) { log . i ( "GLThread" , "onResume tid=" + get id ( ) ) ; } m request paused = false ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ( ! m exited ) && m paused && ( ! m render complete ) ) { if ( log pause resume ) { log . i ( "Main thread" , "onResume waiting for !mPaused." ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>


Original Name on,window,resize

on

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

window

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 27.3%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

resize

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m width = w ; m height = h ; m size changed = true ; m request render = true ; m render complete = false ; s gl thread manager . notify all ( ) ; while ( ! m exited && ! m paused && ! m render complete && able to draw ( ) ) { if ( log surface ) { log . i ( "Main thread" , "onWindowResize waiting for render complete from tid=" + get id ( ) ) ; } try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>


Original Name request,exit,and,wait

request

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

exit

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 12.4%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

and

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

wait

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 49.6%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { synchronized ( s gl thread manager ) { m should exit = true ; s gl thread manager . notify all ( ) ; while ( ! m exited ) { try { s gl thread manager . wait ( ) ; } catch ( interrupted exception ex ) { thread . current thread ( ) . interrupt ( ) ; } } } } <SENTENCE_END/>


Original Name request,release,egl,context,locked

request

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

release

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 16.5%)

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 96.6%)

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

context

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 4.3%)

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

locked

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { m should release egl context = true ; s gl thread manager . notify all ( ) ; } <SENTENCE_END/>


Original Name queue,event

queue

<SENTENCE_START> { if ( r == null ) { throw new illegal argument exception ( "r must not be null" ) ; } synchronized ( s gl thread manager ) { m event queue . add ( r ) ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { if ( r == null ) { throw new illegal argument exception ( "r must not be null" ) ; } synchronized ( s gl thread manager ) { m event queue . add ( r ) ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

event

<SENTENCE_START> { if ( r == null ) { throw new illegal argument exception ( "r must not be null" ) ; } synchronized ( s gl thread manager ) { m event queue . add ( r ) ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 4.9%)

<SENTENCE_START> { if ( r == null ) { throw new illegal argument exception ( "r must not be null" ) ; } synchronized ( s gl thread manager ) { m event queue . add ( r ) ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( r == null ) { throw new illegal argument exception ( "r must not be null" ) ; } synchronized ( s gl thread manager ) { m event queue . add ( r ) ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>

(Copy Probability: 8.4%)

<SENTENCE_START> { if ( r == null ) { throw new illegal argument exception ( "r must not be null" ) ; } synchronized ( s gl thread manager ) { m event queue . add ( r ) ; s gl thread manager . notify all ( ) ; } } <SENTENCE_END/>


Original Name flush,builder

flush

<SENTENCE_START> { if ( m builder . length ( ) > 0 ) { log . v ( "GLSurfaceView" , m builder . to string ( ) ) ; m builder . delete ( 0 , m builder . length ( ) ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( m builder . length ( ) > 0 ) { log . v ( "GLSurfaceView" , m builder . to string ( ) ) ; m builder . delete ( 0 , m builder . length ( ) ) ; } } <SENTENCE_END/>

builder

<SENTENCE_START> { if ( m builder . length ( ) > 0 ) { log . v ( "GLSurfaceView" , m builder . to string ( ) ) ; m builder . delete ( 0 , m builder . length ( ) ) ; } } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( m builder . length ( ) > 0 ) { log . v ( "GLSurfaceView" , m builder . to string ( ) ) ; m builder . delete ( 0 , m builder . length ( ) ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m builder . length ( ) > 0 ) { log . v ( "GLSurfaceView" , m builder . to string ( ) ) ; m builder . delete ( 0 , m builder . length ( ) ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( m builder . length ( ) > 0 ) { log . v ( "GLSurfaceView" , m builder . to string ( ) ) ; m builder . delete ( 0 , m builder . length ( ) ) ; } } <SENTENCE_END/>


Original Name check,render,thread,state

check

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

render

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

(Copy Probability: 3.0%)

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

thread

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

state

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( m gl thread != null ) { throw new illegal state exception ( "setRenderer has already been called for this instance." ) ; } } <SENTENCE_END/>


Original Name thread,exiting

thread

<SENTENCE_START> { if ( log threads ) { log . i ( "GLThread" , "exiting tid=" + thread . get id ( ) ) ; } thread . m exited = true ; if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( log threads ) { log . i ( "GLThread" , "exiting tid=" + thread . get id ( ) ) ; } thread . m exited = true ; if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

exiting

<SENTENCE_START> { if ( log threads ) { log . i ( "GLThread" , "exiting tid=" + thread . get id ( ) ) ; } thread . m exited = true ; if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { if ( log threads ) { log . i ( "GLThread" , "exiting tid=" + thread . get id ( ) ) ; } thread . m exited = true ; if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( log threads ) { log . i ( "GLThread" , "exiting tid=" + thread . get id ( ) ) ; } thread . m exited = true ; if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { if ( log threads ) { log . i ( "GLThread" , "exiting tid=" + thread . get id ( ) ) ; } thread . m exited = true ; if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>


Original Name try,acquire,egl,context,locked

try

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

acquire

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

(Copy Probability: 7.3%)

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

egl

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

(Copy Probability: 3.4%)

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

context

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

(Copy Probability: 9.6%)

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

locked

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>

(Copy Probability: 3.1%)

<SENTENCE_START> { if ( m egl owner == thread || m egl owner == null ) { m egl owner = thread ; notify all ( ) ; return true ; } check gles version ( ) ; if ( m multiple gles contexts allowed ) { return true ; } if ( m egl owner != null ) { m egl owner . request release egl context locked ( ) ; } return false ; } <SENTENCE_END/>


Original Name release,egl,context,locked

release

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

egl

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 43.1%)

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

context

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

locked

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( m egl owner == thread ) { m egl owner = null ; } notify all ( ) ; } <SENTENCE_END/>


Original Name should,release,egl,context,when,pausing

should

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

release

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 28.8%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

egl

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 89.9%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

context

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 15.8%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

when

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

pausing

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>

(Copy Probability: 7.9%)

<SENTENCE_START> { return m limited gles contexts ; } <SENTENCE_END/>


Original Name should,terminate,egl,when,pausing

should

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

terminate

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

(Copy Probability: 35.7%)

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

egl

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

when

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

(Copy Probability: 25.5%)

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

pausing

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

(Copy Probability: 10.3%)

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>

(Copy Probability: 13.4%)

<SENTENCE_START> { check gles version ( ) ; return ! m multiple gles contexts allowed ; } <SENTENCE_END/>


Original Name check,gl,driver

check

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

gl

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 57.4%)

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

driver

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 8.9%)

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 10.0%)

<SENTENCE_START> { if ( ! m gles driver check complete ) { check gles version ( ) ; string renderer = gl . gl get string ( gl 10 . gl renderer ) ; if ( m gles version < k gles 20 ) { m multiple gles contexts allowed = ! renderer . starts with ( k msm 7 k renderer prefix ) ; notify all ( ) ; } m limited gles contexts = ! m multiple gles contexts allowed ; if ( log surface ) { log . w ( tag , "checkGLDriver renderer = "" + renderer + "" multipleContextsAllowed = " + m multiple gles contexts allowed + " mLimitedGLESContexts = " + m limited gles contexts ) ; } m gles driver check complete = true ; } } <SENTENCE_END/>


Original Name check,gles,version

check

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

gles

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 49.3%)

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

version

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 12.5%)

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>

(Copy Probability: 6.8%)

<SENTENCE_START> { if ( ! m gles version check complete ) { m gles version = k gles 20 ; if ( m gles version >= k gles 20 ) { m multiple gles contexts allowed = true ; } if ( log surface ) { log . w ( tag , "checkGLESVersion mGLESVersion =" + " " + m gles version + " mMultipleGLESContextsAllowed = " + m multiple gles contexts allowed ) ; } m gles version check complete = true ; } } <SENTENCE_END/>


Original Name create,buffer,object

create

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

(Copy Probability: 28.1%)

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

object

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

(Copy Probability: 49.4%)

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { int result = gdx . gl 20 . gl gen buffer ( ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , result ) ; gdx . gl 20 . gl buffer data ( gl 20 . gl array buffer , byte buffer . capacity ( ) , null , usage ) ; gdx . gl 20 . gl bind buffer ( gl 20 . gl array buffer , 0 ) ; return result ; } <SENTENCE_END/>


Original Name buffer,changed

buffer

<SENTENCE_START> { if ( is bound ) { gdx . gl 20 . gl buffer sub data ( gl 20 . gl array buffer , 0 , byte buffer . limit ( ) , byte buffer ) ; is dirty = false ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( is bound ) { gdx . gl 20 . gl buffer sub data ( gl 20 . gl array buffer , 0 , byte buffer . limit ( ) , byte buffer ) ; is dirty = false ; } } <SENTENCE_END/>

changed

<SENTENCE_START> { if ( is bound ) { gdx . gl 20 . gl buffer sub data ( gl 20 . gl array buffer , 0 , byte buffer . limit ( ) , byte buffer ) ; is dirty = false ; } } <SENTENCE_END/>

(Copy Probability: 11.9%)

<SENTENCE_START> { if ( is bound ) { gdx . gl 20 . gl buffer sub data ( gl 20 . gl array buffer , 0 , byte buffer . limit ( ) , byte buffer ) ; is dirty = false ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( is bound ) { gdx . gl 20 . gl buffer sub data ( gl 20 . gl array buffer , 0 , byte buffer . limit ( ) , byte buffer ) ; is dirty = false ; } } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( is bound ) { gdx . gl 20 . gl buffer sub data ( gl 20 . gl array buffer , 0 , byte buffer . limit ( ) , byte buffer ) ; is dirty = false ; } } <SENTENCE_END/>


Original Name get,buffer,handle

get

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

(Copy Probability: 86.7%)

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

handle

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

(Copy Probability: 85.1%)

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return buffer handle ; } <SENTENCE_END/>


Original Name set,time,step

set

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

(Copy Probability: 4.6%)

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

time

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

(Copy Probability: 97.3%)

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

step

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

(Copy Probability: 82.0%)

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>

(Copy Probability: 37.9%)

<SENTENCE_START> { delta time = time step ; delta time sqr = delta time * delta time ; } <SENTENCE_END/>


Original Name set,transform

set

<SENTENCE_START> { this . transform . set ( transform ) ; transform . get scale ( scale ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { this . transform . set ( transform ) ; transform . get scale ( scale ) ; } <SENTENCE_END/>

transform

<SENTENCE_START> { this . transform . set ( transform ) ; transform . get scale ( scale ) ; } <SENTENCE_END/>

(Copy Probability: 57.8%)

<SENTENCE_START> { this . transform . set ( transform ) ; transform . get scale ( scale ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . set ( transform ) ; transform . get scale ( scale ) ; } <SENTENCE_END/>

(Copy Probability: 7.0%)

<SENTENCE_START> { this . transform . set ( transform ) ; transform . get scale ( scale ) ; } <SENTENCE_END/>


Original Name set,transform

set

<SENTENCE_START> { transform . set ( x , y , z , qx , qy , qz , qw , scale , scale , scale ) ; this . scale . set ( scale , scale , scale ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { transform . set ( x , y , z , qx , qy , qz , qw , scale , scale , scale ) ; this . scale . set ( scale , scale , scale ) ; } <SENTENCE_END/>

transform

<SENTENCE_START> { transform . set ( x , y , z , qx , qy , qz , qw , scale , scale , scale ) ; this . scale . set ( scale , scale , scale ) ; } <SENTENCE_END/>

(Copy Probability: 28.6%)

<SENTENCE_START> { transform . set ( x , y , z , qx , qy , qz , qw , scale , scale , scale ) ; this . scale . set ( scale , scale , scale ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { transform . set ( x , y , z , qx , qy , qz , qw , scale , scale , scale ) ; this . scale . set ( scale , scale , scale ) ; } <SENTENCE_END/>

(Copy Probability: 3.7%)

<SENTENCE_START> { transform . set ( x , y , z , qx , qy , qz , qw , scale , scale , scale ) ; this . scale . set ( scale , scale , scale ) ; } <SENTENCE_END/>


Original Name rotate

rotate

<SENTENCE_START> { this . transform . %SELF% ( rotation ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . transform . %SELF% ( rotation ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . %SELF% ( rotation ) ; } <SENTENCE_END/>

(Copy Probability: 5.2%)

<SENTENCE_START> { this . transform . %SELF% ( rotation ) ; } <SENTENCE_END/>


Original Name rotate

rotate

<SENTENCE_START> { this . transform . %SELF% ( axis , angle ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . transform . %SELF% ( axis , angle ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . %SELF% ( axis , angle ) ; } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { this . transform . %SELF% ( axis , angle ) ; } <SENTENCE_END/>


Original Name translate

translate

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

(Copy Probability: 3.9%)

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>


Original Name set,translation

set

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

translation

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

(Copy Probability: 4.8%)

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . transform . %SELF% ( translation ) ; } <SENTENCE_END/>


Original Name scale

scale

<SENTENCE_START> { this . transform . %SELF% ( scale x , scale y , scale z ) ; this . transform . get scale ( %SELF% ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { this . transform . %SELF% ( scale x , scale y , scale z ) ; this . transform . get scale ( %SELF% ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . %SELF% ( scale x , scale y , scale z ) ; this . transform . get scale ( %SELF% ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { this . transform . %SELF% ( scale x , scale y , scale z ) ; this . transform . get scale ( %SELF% ) ; } <SENTENCE_END/>


Original Name scale

scale

<SENTENCE_START> { %SELF% ( %SELF% . x , %SELF% . y , %SELF% . z ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { %SELF% ( %SELF% . x , %SELF% . y , %SELF% . z ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% ( %SELF% . x , %SELF% . y , %SELF% . z ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { %SELF% ( %SELF% . x , %SELF% . y , %SELF% . z ) ; } <SENTENCE_END/>


Original Name mul

mul

<SENTENCE_START> { this . transform . %SELF% ( transform ) ; this . transform . get scale ( scale ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . transform . %SELF% ( transform ) ; this . transform . get scale ( scale ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . transform . %SELF% ( transform ) ; this . transform . get scale ( scale ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { this . transform . %SELF% ( transform ) ; this . transform . get scale ( scale ) ; } <SENTENCE_END/>


Original Name get,transform

get

<SENTENCE_START> { transform . set ( this . transform ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { transform . set ( this . transform ) ; } <SENTENCE_END/>

transform

<SENTENCE_START> { transform . set ( this . transform ) ; } <SENTENCE_END/>

(Copy Probability: 17.3%)

<SENTENCE_START> { transform . set ( this . transform ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { transform . set ( this . transform ) ; } <SENTENCE_END/>

(Copy Probability: 2.6%)

<SENTENCE_START> { transform . set ( this . transform ) ; } <SENTENCE_END/>


Original Name init

init

<SENTENCE_START> { bind ( ) ; if ( particles != null ) { end ( ) ; particle channels . reset ids ( ) ; } allocate channels ( emitter . max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { bind ( ) ; if ( particles != null ) { end ( ) ; particle channels . reset ids ( ) ; } allocate channels ( emitter . max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { bind ( ) ; if ( particles != null ) { end ( ) ; particle channels . reset ids ( ) ; } allocate channels ( emitter . max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 6.5%)

<SENTENCE_START> { bind ( ) ; if ( particles != null ) { end ( ) ; particle channels . reset ids ( ) ; } allocate channels ( emitter . max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>


Original Name allocate,channels

allocate

<SENTENCE_START> { particles = new parallel array ( max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { particles = new parallel array ( max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

channels

<SENTENCE_START> { particles = new parallel array ( max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 19.9%)

<SENTENCE_START> { particles = new parallel array ( max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { particles = new parallel array ( max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 8.3%)

<SENTENCE_START> { particles = new parallel array ( max particle count ) ; emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; renderer . %SELF% ( ) ; } <SENTENCE_END/>


Original Name bind

bind

<SENTENCE_START> { emitter . set ( this ) ; for ( influencer influencer : influencers ) influencer . set ( this ) ; renderer . set ( this ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { emitter . set ( this ) ; for ( influencer influencer : influencers ) influencer . set ( this ) ; renderer . set ( this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter . set ( this ) ; for ( influencer influencer : influencers ) influencer . set ( this ) ; renderer . set ( this ) ; } <SENTENCE_END/>

(Copy Probability: 8.1%)

<SENTENCE_START> { emitter . set ( this ) ; for ( influencer influencer : influencers ) influencer . set ( this ) ; renderer . set ( this ) ; } <SENTENCE_END/>


Original Name start

start

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>


Original Name reset

reset

<SENTENCE_START> { end ( ) ; start ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { end ( ) ; start ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { end ( ) ; start ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { end ( ) ; start ( ) ; } <SENTENCE_END/>


Original Name end

end

<SENTENCE_START> { for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; emitter . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; emitter . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; emitter . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 6.6%)

<SENTENCE_START> { for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; emitter . %SELF% ( ) ; } <SENTENCE_END/>


Original Name activate,particles

activate

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

particles

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>


Original Name kill,particles

kill

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

particles

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( start index , count ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( start index , count ) ; } <SENTENCE_END/>


Original Name update

update

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 4.7%)

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>


Original Name draw

draw

<SENTENCE_START> { if ( particles . size > 0 ) { renderer . update ( ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( particles . size > 0 ) { renderer . update ( ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( particles . size > 0 ) { renderer . update ( ) ; } } <SENTENCE_END/>

(Copy Probability: 2.4%)

<SENTENCE_START> { if ( particles . size > 0 ) { renderer . update ( ) ; } } <SENTENCE_END/>


Original Name copy

copy

<SENTENCE_START> { emitter emitter = ( emitter ) this . emitter . %SELF% ( ) ; influencer [ ] influencers = new influencer [ this . influencers . size ] ; int i = 0 ; for ( influencer influencer : this . influencers ) { influencers [ i ++ ] = ( influencer ) influencer . %SELF% ( ) ; } return new particle controller ( new string ( this . name ) , emitter , ( particle controller renderer < ? , ? > ) renderer . %SELF% ( ) , influencers ) ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { emitter emitter = ( emitter ) this . emitter . %SELF% ( ) ; influencer [ ] influencers = new influencer [ this . influencers . size ] ; int i = 0 ; for ( influencer influencer : this . influencers ) { influencers [ i ++ ] = ( influencer ) influencer . %SELF% ( ) ; } return new particle controller ( new string ( this . name ) , emitter , ( particle controller renderer < ? , ? > ) renderer . %SELF% ( ) , influencers ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter emitter = ( emitter ) this . emitter . %SELF% ( ) ; influencer [ ] influencers = new influencer [ this . influencers . size ] ; int i = 0 ; for ( influencer influencer : this . influencers ) { influencers [ i ++ ] = ( influencer ) influencer . %SELF% ( ) ; } return new particle controller ( new string ( this . name ) , emitter , ( particle controller renderer < ? , ? > ) renderer . %SELF% ( ) , influencers ) ; } <SENTENCE_END/>

(Copy Probability: 22.6%)

<SENTENCE_START> { emitter emitter = ( emitter ) this . emitter . %SELF% ( ) ; influencer [ ] influencers = new influencer [ this . influencers . size ] ; int i = 0 ; for ( influencer influencer : this . influencers ) { influencers [ i ++ ] = ( influencer ) influencer . %SELF% ( ) ; } return new particle controller ( new string ( this . name ) , emitter , ( particle controller renderer < ? , ? > ) renderer . %SELF% ( ) , influencers ) ; } <SENTENCE_END/>


Original Name dispose

dispose

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { emitter . %SELF% ( ) ; for ( influencer influencer : influencers ) influencer . %SELF% ( ) ; } <SENTENCE_END/>


Original Name get,bounding,box

get

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

bounding

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

(Copy Probability: 96.0%)

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

box

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( bounding box == null ) bounding box = new bounding box ( ) ; calculate bounding box ( ) ; return bounding box ; } <SENTENCE_END/>


Original Name calculate,bounding,box

calculate

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

bounding

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

(Copy Probability: 23.8%)

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

box

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

(Copy Probability: 92.9%)

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { bounding box . clr ( ) ; float channel position channel = particles . get channel ( particle channels . position ) ; for ( int pos = 0 , c = position channel . stride size * particles . size ; pos < c ; pos += position channel . stride size ) { bounding box . ext ( position channel . data [ pos + particle channels . x offset ] , position channel . data [ pos + particle channels . y offset ] , position channel . data [ pos + particle channels . z offset ] ) ; } } <SENTENCE_END/>


Original Name find,index

find

<SENTENCE_START> { for ( int i = 0 ; i < influencers . size ; ++ i ) { influencer influencer = influencers . get ( i ) ; if ( class reflection . is assignable from ( type , influencer . get class ( ) ) ) { return i ; } } return - 1 ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { for ( int i = 0 ; i < influencers . size ; ++ i ) { influencer influencer = influencers . get ( i ) ; if ( class reflection . is assignable from ( type , influencer . get class ( ) ) ) { return i ; } } return - 1 ; } <SENTENCE_END/>

index

<SENTENCE_START> { for ( int i = 0 ; i < influencers . size ; ++ i ) { influencer influencer = influencers . get ( i ) ; if ( class reflection . is assignable from ( type , influencer . get class ( ) ) ) { return i ; } } return - 1 ; } <SENTENCE_END/>

(Copy Probability: 7.4%)

<SENTENCE_START> { for ( int i = 0 ; i < influencers . size ; ++ i ) { influencer influencer = influencers . get ( i ) ; if ( class reflection . is assignable from ( type , influencer . get class ( ) ) ) { return i ; } } return - 1 ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { for ( int i = 0 ; i < influencers . size ; ++ i ) { influencer influencer = influencers . get ( i ) ; if ( class reflection . is assignable from ( type , influencer . get class ( ) ) ) { return i ; } } return - 1 ; } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { for ( int i = 0 ; i < influencers . size ; ++ i ) { influencer influencer = influencers . get ( i ) ; if ( class reflection . is assignable from ( type , influencer . get class ( ) ) ) { return i ; } } return - 1 ; } <SENTENCE_END/>


Original Name find,influencer

find

<SENTENCE_START> { int index = find index ( influencer class ) ; return index > - 1 ? ( k ) influencers . get ( index ) : null ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { int index = find index ( influencer class ) ; return index > - 1 ? ( k ) influencers . get ( index ) : null ; } <SENTENCE_END/>

influencer

<SENTENCE_START> { int index = find index ( influencer class ) ; return index > - 1 ? ( k ) influencers . get ( index ) : null ; } <SENTENCE_END/>

(Copy Probability: 9.6%)

<SENTENCE_START> { int index = find index ( influencer class ) ; return index > - 1 ? ( k ) influencers . get ( index ) : null ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int index = find index ( influencer class ) ; return index > - 1 ? ( k ) influencers . get ( index ) : null ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { int index = find index ( influencer class ) ; return index > - 1 ? ( k ) influencers . get ( index ) : null ; } <SENTENCE_END/>


Original Name remove,influencer

remove

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) influencers . remove index ( index ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) influencers . remove index ( index ) ; } <SENTENCE_END/>

influencer

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) influencers . remove index ( index ) ; } <SENTENCE_END/>

(Copy Probability: 9.0%)

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) influencers . remove index ( index ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) influencers . remove index ( index ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) influencers . remove index ( index ) ; } <SENTENCE_END/>


Original Name replace,influencer

replace

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) { influencers . insert ( index , new influencer ) ; influencers . remove index ( index + 1 ) ; return true ; } return false ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) { influencers . insert ( index , new influencer ) ; influencers . remove index ( index + 1 ) ; return true ; } return false ; } <SENTENCE_END/>

influencer

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) { influencers . insert ( index , new influencer ) ; influencers . remove index ( index + 1 ) ; return true ; } return false ; } <SENTENCE_END/>

(Copy Probability: 7.6%)

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) { influencers . insert ( index , new influencer ) ; influencers . remove index ( index + 1 ) ; return true ; } return false ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) { influencers . insert ( index , new influencer ) ; influencers . remove index ( index + 1 ) ; return true ; } return false ; } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { int index = find index ( type ) ; if ( index > - 1 ) { influencers . insert ( index , new influencer ) ; influencers . remove index ( index + 1 ) ; return true ; } return false ; } <SENTENCE_END/>


Original Name should,collide

should

<SENTENCE_START> { filter filter a = fixture a . get filter data ( ) ; filter filter b = fixture b . get filter data ( ) ; if ( filter a . group index == filter b . group index && filter a . group index != 0 ) { return filter a . group index > 0 ; } boolean collide = ( filter a . mask bits & filter b . category bits ) != 0 && ( filter a . category bits & filter b . mask bits ) != 0 ; return collide ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { filter filter a = fixture a . get filter data ( ) ; filter filter b = fixture b . get filter data ( ) ; if ( filter a . group index == filter b . group index && filter a . group index != 0 ) { return filter a . group index > 0 ; } boolean collide = ( filter a . mask bits & filter b . category bits ) != 0 && ( filter a . category bits & filter b . mask bits ) != 0 ; return collide ; } <SENTENCE_END/>

collide

<SENTENCE_START> { filter filter a = fixture a . get filter data ( ) ; filter filter b = fixture b . get filter data ( ) ; if ( filter a . group index == filter b . group index && filter a . group index != 0 ) { return filter a . group index > 0 ; } boolean collide = ( filter a . mask bits & filter b . category bits ) != 0 && ( filter a . category bits & filter b . mask bits ) != 0 ; return collide ; } <SENTENCE_END/>

(Copy Probability: 32.7%)

<SENTENCE_START> { filter filter a = fixture a . get filter data ( ) ; filter filter b = fixture b . get filter data ( ) ; if ( filter a . group index == filter b . group index && filter a . group index != 0 ) { return filter a . group index > 0 ; } boolean collide = ( filter a . mask bits & filter b . category bits ) != 0 && ( filter a . category bits & filter b . mask bits ) != 0 ; return collide ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { filter filter a = fixture a . get filter data ( ) ; filter filter b = fixture b . get filter data ( ) ; if ( filter a . group index == filter b . group index && filter a . group index != 0 ) { return filter a . group index > 0 ; } boolean collide = ( filter a . mask bits & filter b . category bits ) != 0 && ( filter a . category bits & filter b . mask bits ) != 0 ; return collide ; } <SENTENCE_END/>

(Copy Probability: 6.1%)

<SENTENCE_START> { filter filter a = fixture a . get filter data ( ) ; filter filter b = fixture b . get filter data ( ) ; if ( filter a . group index == filter b . group index && filter a . group index != 0 ) { return filter a . group index > 0 ; } boolean collide = ( filter a . mask bits & filter b . category bits ) != 0 && ( filter a . category bits & filter b . mask bits ) != 0 ; return collide ; } <SENTENCE_END/>


Original Name init

init

<SENTENCE_START> { super . %SELF% ( fixture a , 0 , fixture b , 0 ) ; assert ( m fixture a . get type ( ) == shape type . polygon ) ; assert ( m fixture b . get type ( ) == shape type . polygon ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { super . %SELF% ( fixture a , 0 , fixture b , 0 ) ; assert ( m fixture a . get type ( ) == shape type . polygon ) ; assert ( m fixture b . get type ( ) == shape type . polygon ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { super . %SELF% ( fixture a , 0 , fixture b , 0 ) ; assert ( m fixture a . get type ( ) == shape type . polygon ) ; assert ( m fixture b . get type ( ) == shape type . polygon ) ; } <SENTENCE_END/>

(Copy Probability: 7.1%)

<SENTENCE_START> { super . %SELF% ( fixture a , 0 , fixture b , 0 ) ; assert ( m fixture a . get type ( ) == shape type . polygon ) ; assert ( m fixture b . get type ( ) == shape type . polygon ) ; } <SENTENCE_END/>


Original Name add,emitter

add

<SENTENCE_START> { particle controller controller = create billboard controller ( colors , particle texture ) ; controller . init ( ) ; controller . start ( ) ; emitters . add ( controller ) ; controller . translate ( translation ) ; ui . add action ( new rotation action ( controller , action axis , action rotation ) ) ; } <SENTENCE_END/>

(Copy Probability: 14.6%)

<SENTENCE_START> { particle controller controller = create billboard controller ( colors , particle texture ) ; controller . init ( ) ; controller . start ( ) ; emitters . add ( controller ) ; controller . translate ( translation ) ; ui . add action ( new rotation action ( controller , action axis , action rotation ) ) ; } <SENTENCE_END/>

emitter

<SENTENCE_START> { particle controller controller = create billboard controller ( colors , particle texture ) ; controller . init ( ) ; controller . start ( ) ; emitters . add ( controller ) ; controller . translate ( translation ) ; ui . add action ( new rotation action ( controller , action axis , action rotation ) ) ; } <SENTENCE_END/>

(Copy Probability: 79.0%)

<SENTENCE_START> { particle controller controller = create billboard controller ( colors , particle texture ) ; controller . init ( ) ; controller . start ( ) ; emitters . add ( controller ) ; controller . translate ( translation ) ; ui . add action ( new rotation action ( controller , action axis , action rotation ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { particle controller controller = create billboard controller ( colors , particle texture ) ; controller . init ( ) ; controller . start ( ) ; emitters . add ( controller ) ; controller . translate ( translation ) ; ui . add action ( new rotation action ( controller , action axis , action rotation ) ) ; } <SENTENCE_END/>

(Copy Probability: 3.7%)

<SENTENCE_START> { particle controller controller = create billboard controller ( colors , particle texture ) ; controller . init ( ) ; controller . start ( ) ; emitters . add ( controller ) ; controller . translate ( translation ) ; ui . add action ( new rotation action ( controller , action axis , action rotation ) ) ; } <SENTENCE_END/>


Original Name setup,ui

setup

<SENTENCE_START> { skin skin = assets . get ( default skin ) ; table table = new table ( ) ; table . set fill parent ( true ) ; table . top ( ) . left ( ) . add ( new label ( "FPS " , skin ) ) . left ( ) ; table . add ( fps label = new label ( "" , skin ) ) . left ( ) . expand x ( ) . row ( ) ; ui . add actor ( table ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { skin skin = assets . get ( default skin ) ; table table = new table ( ) ; table . set fill parent ( true ) ; table . top ( ) . left ( ) . add ( new label ( "FPS " , skin ) ) . left ( ) ; table . add ( fps label = new label ( "" , skin ) ) . left ( ) . expand x ( ) . row ( ) ; ui . add actor ( table ) ; } <SENTENCE_END/>

ui

<SENTENCE_START> { skin skin = assets . get ( default skin ) ; table table = new table ( ) ; table . set fill parent ( true ) ; table . top ( ) . left ( ) . add ( new label ( "FPS " , skin ) ) . left ( ) ; table . add ( fps label = new label ( "" , skin ) ) . left ( ) . expand x ( ) . row ( ) ; ui . add actor ( table ) ; } <SENTENCE_END/>

(Copy Probability: 84.6%)

<SENTENCE_START> { skin skin = assets . get ( default skin ) ; table table = new table ( ) ; table . set fill parent ( true ) ; table . top ( ) . left ( ) . add ( new label ( "FPS " , skin ) ) . left ( ) ; table . add ( fps label = new label ( "" , skin ) ) . left ( ) . expand x ( ) . row ( ) ; ui . add actor ( table ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { skin skin = assets . get ( default skin ) ; table table = new table ( ) ; table . set fill parent ( true ) ; table . top ( ) . left ( ) . add ( new label ( "FPS " , skin ) ) . left ( ) ; table . add ( fps label = new label ( "" , skin ) ) . left ( ) . expand x ( ) . row ( ) ; ui . add actor ( table ) ; } <SENTENCE_END/>

(Copy Probability: 15.5%)

<SENTENCE_START> { skin skin = assets . get ( default skin ) ; table table = new table ( ) ; table . set fill parent ( true ) ; table . top ( ) . left ( ) . add ( new label ( "FPS " , skin ) ) . left ( ) ; table . add ( fps label = new label ( "" , skin ) ) . left ( ) . expand x ( ) . row ( ) ; ui . add actor ( table ) ; } <SENTENCE_END/>


Original Name create,billboard,controller

create

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

billboard

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

(Copy Probability: 31.4%)

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

controller

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

(Copy Probability: 92.2%)

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { regular emitter emitter = new regular emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 2900 ) ; emitter . get life ( ) . set high ( 1000 ) ; emitter . set max particle count ( 3000 ) ; point spawn shape value point spawn shape value = new point spawn shape value ( ) ; point spawn shape value . x offset value . set low ( 0 , 1f ) ; point spawn shape value . x offset value . set active ( true ) ; point spawn shape value . y offset value . set low ( 0 , 1f ) ; point spawn shape value . y offset value . set active ( true ) ; point spawn shape value . z offset value . set low ( 0 , 1f ) ; point spawn shape value . z offset value . set active ( true ) ; spawn influencer spawn source = new spawn influencer ( point spawn shape value ) ; scale influencer scale influencer = new scale influencer ( ) ; scale influencer . value . set timeline ( new float [ ] { 0 , 1 } ) ; scale influencer . value . set scaling ( new float [ ] { 1 , 0 } ) ; scale influencer . value . set low ( 0 ) ; scale influencer . value . set high ( 1 ) ; color influencer . single color influencer = new color influencer . single ( ) ; color influencer . color value . set colors ( new float [ ] { colors [ 0 ] , colors [ 1 ] , colors [ 2 ] , 0 , 0 , 0 } ) ; color influencer . color value . set timeline ( new float [ ] { 0 , 1 } ) ; color influencer . alpha value . set high ( 1 ) ; color influencer . alpha value . set timeline ( new float [ ] { 0 , 0.5f , 0.8f , 1 } ) ; color influencer . alpha value . set scaling ( new float [ ] { 0 , 0.15f , 0.5f , 0 } ) ; dynamics influencer dynamics influencer = new dynamics influencer ( ) ; brownian acceleration modifier = new brownian acceleration ( ) ; modifier . strength value . set timeline ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set scaling ( new float [ ] { 0 , 1 } ) ; modifier . strength value . set high ( 80 ) ; modifier . strength value . set low ( 1 , 5 ) ; dynamics influencer . velocities . add ( modifier ) ; return new particle controller ( "Billboard Controller" , emitter , new billboard renderer ( billboard particle batch ) , new region influencer . single ( particle texture ) , spawn source , scale influencer , color influencer , dynamics influencer ) ; } <SENTENCE_END/>


Original Name new,emitter

new

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 1000 ) ; emitter . get emission ( ) . set high ( 50 ) ; emitter . get life ( ) . set high ( 500 ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 ) ; emitter . set max particle count ( 25 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 1000 ) ; emitter . get emission ( ) . set high ( 50 ) ; emitter . get life ( ) . set high ( 500 ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 ) ; emitter . set max particle count ( 25 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

emitter

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 1000 ) ; emitter . get emission ( ) . set high ( 50 ) ; emitter . get life ( ) . set high ( 500 ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 ) ; emitter . set max particle count ( 25 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 69.2%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 1000 ) ; emitter . get emission ( ) . set high ( 50 ) ; emitter . get life ( ) . set high ( 500 ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 ) ; emitter . set max particle count ( 25 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 1000 ) ; emitter . get emission ( ) . set high ( 50 ) ; emitter . get life ( ) . set high ( 500 ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 ) ; emitter . set max particle count ( 25 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 1000 ) ; emitter . get emission ( ) . set high ( 50 ) ; emitter . get life ( ) . set high ( 500 ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 ) ; emitter . set max particle count ( 25 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>


Original Name new,example,emitter

new

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

example

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 47.1%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

emitter

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 11.6%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { final particle emitter emitter = new particle emitter ( ) ; emitter . get duration ( ) . set low ( 3000 ) ; emitter . get emission ( ) . set high ( 250 ) ; emitter . get life ( ) . set high ( 500 , 1000 ) ; emitter . get life ( ) . set timeline ( new float [ ] { 0 , 0.66f , 1 } ) ; emitter . get life ( ) . set scaling ( new float [ ] { 1 , 1 , 0.3f } ) ; emitter . get scale ( ) . set high ( 32 , 32 ) ; emitter . get rotation ( ) . set low ( 1 , 360 ) ; emitter . get rotation ( ) . set high ( 180 , 180 ) ; emitter . get rotation ( ) . set timeline ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set scaling ( new float [ ] { 0 , 1 } ) ; emitter . get rotation ( ) . set relative ( true ) ; emitter . get angle ( ) . set high ( 45 , 135 ) ; emitter . get angle ( ) . set low ( 90 ) ; emitter . get angle ( ) . set timeline ( new float [ ] { 0 , 0.5f , 1 } ) ; emitter . get angle ( ) . set scaling ( new float [ ] { 1 , 0 , 0 } ) ; emitter . get angle ( ) . set active ( true ) ; emitter . get velocity ( ) . set high ( 30 , 300 ) ; emitter . get velocity ( ) . set active ( true ) ; emitter . get tint ( ) . set colors ( new float [ ] { 1 , 0.12156863f , 0.047058824f } ) ; emitter . get transparency ( ) . set high ( 1 , 1 ) ; emitter . get transparency ( ) . set timeline ( new float [ ] { 0 , 0.2f , 0.8f , 1 } ) ; emitter . get transparency ( ) . set scaling ( new float [ ] { 0 , 1 , 0.75f , 0 } ) ; emitter . set max particle count ( 200 ) ; emitter . set image path ( particle editor . default particle ) ; add emitter ( name , select , emitter ) ; return emitter ; } <SENTENCE_END/>


Original Name add,emitter

add

<SENTENCE_START> { array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( emitters . size == 0 ) emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; else { particle emitter p = emitters . get ( 0 ) ; emitter . set position ( p . get x ( ) , p . get y ( ) ) ; } emitters . add ( emitter ) ; emitter table model . add row ( new object [ ] { name , true } ) ; if ( select ) { editor . reload rows ( ) ; int row = emitter table model . get row count ( ) - 1 ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( emitters . size == 0 ) emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; else { particle emitter p = emitters . get ( 0 ) ; emitter . set position ( p . get x ( ) , p . get y ( ) ) ; } emitters . add ( emitter ) ; emitter table model . add row ( new object [ ] { name , true } ) ; if ( select ) { editor . reload rows ( ) ; int row = emitter table model . get row count ( ) - 1 ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } } <SENTENCE_END/>

emitter

<SENTENCE_START> { array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( emitters . size == 0 ) emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; else { particle emitter p = emitters . get ( 0 ) ; emitter . set position ( p . get x ( ) , p . get y ( ) ) ; } emitters . add ( emitter ) ; emitter table model . add row ( new object [ ] { name , true } ) ; if ( select ) { editor . reload rows ( ) ; int row = emitter table model . get row count ( ) - 1 ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } } <SENTENCE_END/>

(Copy Probability: 35.8%)

<SENTENCE_START> { array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( emitters . size == 0 ) emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; else { particle emitter p = emitters . get ( 0 ) ; emitter . set position ( p . get x ( ) , p . get y ( ) ) ; } emitters . add ( emitter ) ; emitter table model . add row ( new object [ ] { name , true } ) ; if ( select ) { editor . reload rows ( ) ; int row = emitter table model . get row count ( ) - 1 ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( emitters . size == 0 ) emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; else { particle emitter p = emitters . get ( 0 ) ; emitter . set position ( p . get x ( ) , p . get y ( ) ) ; } emitters . add ( emitter ) ; emitter table model . add row ( new object [ ] { name , true } ) ; if ( select ) { editor . reload rows ( ) ; int row = emitter table model . get row count ( ) - 1 ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( emitters . size == 0 ) emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; else { particle emitter p = emitters . get ( 0 ) ; emitter . set position ( p . get x ( ) , p . get y ( ) ) ; } emitters . add ( emitter ) ; emitter table model . add row ( new object [ ] { name , true } ) ; if ( select ) { editor . reload rows ( ) ; int row = emitter table model . get row count ( ) - 1 ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } } <SENTENCE_END/>


Original Name emitter,selected

emitter

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) { row = edit index ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } if ( row == edit index ) return ; edit index = row ; editor . reload rows ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) { row = edit index ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } if ( row == edit index ) return ; edit index = row ; editor . reload rows ( ) ; } <SENTENCE_END/>

selected

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) { row = edit index ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } if ( row == edit index ) return ; edit index = row ; editor . reload rows ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) { row = edit index ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } if ( row == edit index ) return ; edit index = row ; editor . reload rows ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) { row = edit index ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } if ( row == edit index ) return ; edit index = row ; editor . reload rows ( ) ; } <SENTENCE_END/>

(Copy Probability: 2.0%)

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) { row = edit index ; emitter table . get selection model ( ) . set selection interval ( row , row ) ; } if ( row == edit index ) return ; edit index = row ; editor . reload rows ( ) ; } <SENTENCE_END/>


Original Name open,effect

open

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Open Effect" , file dialog . load ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; final string file = dialog . get file ( ) ; final string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; particle effect effect = new particle effect ( ) ; try { file effect file = new file ( dir , file ) ; effect . load emitters ( gdx . files . absolute ( effect file . get absolute path ( ) ) ) ; editor . effect = effect ; editor . effect file = effect file ; emitter table model . get data vector ( ) . remove all elements ( ) ; editor . particle data . clear ( ) ; } catch ( exception ex ) { system . out . println ( "Error loading effect: " + new file ( dir , file ) . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error opening effect." ) ; return ; } for ( particle emitter emitter : effect . get emitters ( ) ) { emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; emitter table model . add row ( new object [ ] { emitter . get name ( ) , true } ) ; } edit index = 0 ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; editor . reload rows ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Open Effect" , file dialog . load ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; final string file = dialog . get file ( ) ; final string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; particle effect effect = new particle effect ( ) ; try { file effect file = new file ( dir , file ) ; effect . load emitters ( gdx . files . absolute ( effect file . get absolute path ( ) ) ) ; editor . effect = effect ; editor . effect file = effect file ; emitter table model . get data vector ( ) . remove all elements ( ) ; editor . particle data . clear ( ) ; } catch ( exception ex ) { system . out . println ( "Error loading effect: " + new file ( dir , file ) . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error opening effect." ) ; return ; } for ( particle emitter emitter : effect . get emitters ( ) ) { emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; emitter table model . add row ( new object [ ] { emitter . get name ( ) , true } ) ; } edit index = 0 ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; editor . reload rows ( ) ; } <SENTENCE_END/>

effect

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Open Effect" , file dialog . load ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; final string file = dialog . get file ( ) ; final string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; particle effect effect = new particle effect ( ) ; try { file effect file = new file ( dir , file ) ; effect . load emitters ( gdx . files . absolute ( effect file . get absolute path ( ) ) ) ; editor . effect = effect ; editor . effect file = effect file ; emitter table model . get data vector ( ) . remove all elements ( ) ; editor . particle data . clear ( ) ; } catch ( exception ex ) { system . out . println ( "Error loading effect: " + new file ( dir , file ) . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error opening effect." ) ; return ; } for ( particle emitter emitter : effect . get emitters ( ) ) { emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; emitter table model . add row ( new object [ ] { emitter . get name ( ) , true } ) ; } edit index = 0 ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; editor . reload rows ( ) ; } <SENTENCE_END/>

(Copy Probability: 15.5%)

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Open Effect" , file dialog . load ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; final string file = dialog . get file ( ) ; final string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; particle effect effect = new particle effect ( ) ; try { file effect file = new file ( dir , file ) ; effect . load emitters ( gdx . files . absolute ( effect file . get absolute path ( ) ) ) ; editor . effect = effect ; editor . effect file = effect file ; emitter table model . get data vector ( ) . remove all elements ( ) ; editor . particle data . clear ( ) ; } catch ( exception ex ) { system . out . println ( "Error loading effect: " + new file ( dir , file ) . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error opening effect." ) ; return ; } for ( particle emitter emitter : effect . get emitters ( ) ) { emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; emitter table model . add row ( new object [ ] { emitter . get name ( ) , true } ) ; } edit index = 0 ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; editor . reload rows ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Open Effect" , file dialog . load ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; final string file = dialog . get file ( ) ; final string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; particle effect effect = new particle effect ( ) ; try { file effect file = new file ( dir , file ) ; effect . load emitters ( gdx . files . absolute ( effect file . get absolute path ( ) ) ) ; editor . effect = effect ; editor . effect file = effect file ; emitter table model . get data vector ( ) . remove all elements ( ) ; editor . particle data . clear ( ) ; } catch ( exception ex ) { system . out . println ( "Error loading effect: " + new file ( dir , file ) . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error opening effect." ) ; return ; } for ( particle emitter emitter : effect . get emitters ( ) ) { emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; emitter table model . add row ( new object [ ] { emitter . get name ( ) , true } ) ; } edit index = 0 ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; editor . reload rows ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Open Effect" , file dialog . load ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; final string file = dialog . get file ( ) ; final string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; particle effect effect = new particle effect ( ) ; try { file effect file = new file ( dir , file ) ; effect . load emitters ( gdx . files . absolute ( effect file . get absolute path ( ) ) ) ; editor . effect = effect ; editor . effect file = effect file ; emitter table model . get data vector ( ) . remove all elements ( ) ; editor . particle data . clear ( ) ; } catch ( exception ex ) { system . out . println ( "Error loading effect: " + new file ( dir , file ) . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error opening effect." ) ; return ; } for ( particle emitter emitter : effect . get emitters ( ) ) { emitter . set position ( editor . world camera . viewport width / 2 , editor . world camera . viewport height / 2 ) ; emitter table model . add row ( new object [ ] { emitter . get name ( ) , true } ) ; } edit index = 0 ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; editor . reload rows ( ) ; } <SENTENCE_END/>


Original Name save,effect

save

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Save Effect" , file dialog . save ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; string file = dialog . get file ( ) ; string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; int index = 0 ; file effect file = new file ( dir , file ) ; uri effect dir uri = effect file . get parent file ( ) . to uri ( ) ; for ( particle emitter emitter : editor . effect . get emitters ( ) ) { emitter . set name ( ( string ) emitter table model . get value at ( index ++ , 0 ) ) ; string image path = emitter . get image path ( ) ; if ( ( image path . contains ( "/" ) || image path . contains ( "|" ) ) && ! image path . contains ( ".." ) ) { uri image uri = new file ( emitter . get image path ( ) ) . to uri ( ) ; emitter . set image path ( effect dir uri . relativize ( image uri ) . get path ( ) ) ; } } file output file = new file ( dir , file ) ; writer file writer = null ; try { file writer = new file writer ( output file ) ; editor . effect . save ( file writer ) ; } catch ( exception ex ) { system . out . println ( "Error saving effect: " + output file . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error saving effect." ) ; } finally { stream utils . close quietly ( file writer ) ; } } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Save Effect" , file dialog . save ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; string file = dialog . get file ( ) ; string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; int index = 0 ; file effect file = new file ( dir , file ) ; uri effect dir uri = effect file . get parent file ( ) . to uri ( ) ; for ( particle emitter emitter : editor . effect . get emitters ( ) ) { emitter . set name ( ( string ) emitter table model . get value at ( index ++ , 0 ) ) ; string image path = emitter . get image path ( ) ; if ( ( image path . contains ( "/" ) || image path . contains ( "|" ) ) && ! image path . contains ( ".." ) ) { uri image uri = new file ( emitter . get image path ( ) ) . to uri ( ) ; emitter . set image path ( effect dir uri . relativize ( image uri ) . get path ( ) ) ; } } file output file = new file ( dir , file ) ; writer file writer = null ; try { file writer = new file writer ( output file ) ; editor . effect . save ( file writer ) ; } catch ( exception ex ) { system . out . println ( "Error saving effect: " + output file . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error saving effect." ) ; } finally { stream utils . close quietly ( file writer ) ; } } <SENTENCE_END/>

effect

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Save Effect" , file dialog . save ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; string file = dialog . get file ( ) ; string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; int index = 0 ; file effect file = new file ( dir , file ) ; uri effect dir uri = effect file . get parent file ( ) . to uri ( ) ; for ( particle emitter emitter : editor . effect . get emitters ( ) ) { emitter . set name ( ( string ) emitter table model . get value at ( index ++ , 0 ) ) ; string image path = emitter . get image path ( ) ; if ( ( image path . contains ( "/" ) || image path . contains ( "|" ) ) && ! image path . contains ( ".." ) ) { uri image uri = new file ( emitter . get image path ( ) ) . to uri ( ) ; emitter . set image path ( effect dir uri . relativize ( image uri ) . get path ( ) ) ; } } file output file = new file ( dir , file ) ; writer file writer = null ; try { file writer = new file writer ( output file ) ; editor . effect . save ( file writer ) ; } catch ( exception ex ) { system . out . println ( "Error saving effect: " + output file . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error saving effect." ) ; } finally { stream utils . close quietly ( file writer ) ; } } <SENTENCE_END/>

(Copy Probability: 23.8%)

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Save Effect" , file dialog . save ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; string file = dialog . get file ( ) ; string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; int index = 0 ; file effect file = new file ( dir , file ) ; uri effect dir uri = effect file . get parent file ( ) . to uri ( ) ; for ( particle emitter emitter : editor . effect . get emitters ( ) ) { emitter . set name ( ( string ) emitter table model . get value at ( index ++ , 0 ) ) ; string image path = emitter . get image path ( ) ; if ( ( image path . contains ( "/" ) || image path . contains ( "|" ) ) && ! image path . contains ( ".." ) ) { uri image uri = new file ( emitter . get image path ( ) ) . to uri ( ) ; emitter . set image path ( effect dir uri . relativize ( image uri ) . get path ( ) ) ; } } file output file = new file ( dir , file ) ; writer file writer = null ; try { file writer = new file writer ( output file ) ; editor . effect . save ( file writer ) ; } catch ( exception ex ) { system . out . println ( "Error saving effect: " + output file . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error saving effect." ) ; } finally { stream utils . close quietly ( file writer ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Save Effect" , file dialog . save ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; string file = dialog . get file ( ) ; string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; int index = 0 ; file effect file = new file ( dir , file ) ; uri effect dir uri = effect file . get parent file ( ) . to uri ( ) ; for ( particle emitter emitter : editor . effect . get emitters ( ) ) { emitter . set name ( ( string ) emitter table model . get value at ( index ++ , 0 ) ) ; string image path = emitter . get image path ( ) ; if ( ( image path . contains ( "/" ) || image path . contains ( "|" ) ) && ! image path . contains ( ".." ) ) { uri image uri = new file ( emitter . get image path ( ) ) . to uri ( ) ; emitter . set image path ( effect dir uri . relativize ( image uri ) . get path ( ) ) ; } } file output file = new file ( dir , file ) ; writer file writer = null ; try { file writer = new file writer ( output file ) ; editor . effect . save ( file writer ) ; } catch ( exception ex ) { system . out . println ( "Error saving effect: " + output file . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error saving effect." ) ; } finally { stream utils . close quietly ( file writer ) ; } } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { file dialog dialog = new file dialog ( editor , "Save Effect" , file dialog . save ) ; if ( last dir != null ) dialog . set directory ( last dir ) ; dialog . set visible ( true ) ; string file = dialog . get file ( ) ; string dir = dialog . get directory ( ) ; if ( dir == null || file == null || file . trim ( ) . length ( ) == 0 ) return ; last dir = dir ; int index = 0 ; file effect file = new file ( dir , file ) ; uri effect dir uri = effect file . get parent file ( ) . to uri ( ) ; for ( particle emitter emitter : editor . effect . get emitters ( ) ) { emitter . set name ( ( string ) emitter table model . get value at ( index ++ , 0 ) ) ; string image path = emitter . get image path ( ) ; if ( ( image path . contains ( "/" ) || image path . contains ( "|" ) ) && ! image path . contains ( ".." ) ) { uri image uri = new file ( emitter . get image path ( ) ) . to uri ( ) ; emitter . set image path ( effect dir uri . relativize ( image uri ) . get path ( ) ) ; } } file output file = new file ( dir , file ) ; writer file writer = null ; try { file writer = new file writer ( output file ) ; editor . effect . save ( file writer ) ; } catch ( exception ex ) { system . out . println ( "Error saving effect: " + output file . get absolute path ( ) ) ; ex . print stack trace ( ) ; j option pane . show message dialog ( editor , "Error saving effect." ) ; } finally { stream utils . close quietly ( file writer ) ; } } <SENTENCE_END/>


Original Name duplicate,emitter

duplicate

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; string name = ( string ) emitter table model . get value at ( row , 0 ) ; add emitter ( name , true , new particle emitter ( editor . effect . get emitters ( ) . get ( row ) ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; string name = ( string ) emitter table model . get value at ( row , 0 ) ; add emitter ( name , true , new particle emitter ( editor . effect . get emitters ( ) . get ( row ) ) ) ; } <SENTENCE_END/>

emitter

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; string name = ( string ) emitter table model . get value at ( row , 0 ) ; add emitter ( name , true , new particle emitter ( editor . effect . get emitters ( ) . get ( row ) ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; string name = ( string ) emitter table model . get value at ( row , 0 ) ; add emitter ( name , true , new particle emitter ( editor . effect . get emitters ( ) . get ( row ) ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; string name = ( string ) emitter table model . get value at ( row , 0 ) ; add emitter ( name , true , new particle emitter ( editor . effect . get emitters ( ) . get ( row ) ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; string name = ( string ) emitter table model . get value at ( row , 0 ) ; add emitter ( name , true , new particle emitter ( editor . effect . get emitters ( ) . get ( row ) ) ) ; } <SENTENCE_END/>


Original Name delete,emitter

delete

<SENTENCE_START> { if ( editor . effect . get emitters ( ) . size == 1 ) return ; int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; if ( row <= edit index ) { int old edit index = edit index ; edit index = math . max ( 0 , edit index - 1 ) ; if ( old edit index == row ) editor . reload rows ( ) ; } editor . effect . get emitters ( ) . remove index ( row ) ; emitter table model . remove row ( row ) ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( editor . effect . get emitters ( ) . size == 1 ) return ; int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; if ( row <= edit index ) { int old edit index = edit index ; edit index = math . max ( 0 , edit index - 1 ) ; if ( old edit index == row ) editor . reload rows ( ) ; } editor . effect . get emitters ( ) . remove index ( row ) ; emitter table model . remove row ( row ) ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

emitter

<SENTENCE_START> { if ( editor . effect . get emitters ( ) . size == 1 ) return ; int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; if ( row <= edit index ) { int old edit index = edit index ; edit index = math . max ( 0 , edit index - 1 ) ; if ( old edit index == row ) editor . reload rows ( ) ; } editor . effect . get emitters ( ) . remove index ( row ) ; emitter table model . remove row ( row ) ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { if ( editor . effect . get emitters ( ) . size == 1 ) return ; int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; if ( row <= edit index ) { int old edit index = edit index ; edit index = math . max ( 0 , edit index - 1 ) ; if ( old edit index == row ) editor . reload rows ( ) ; } editor . effect . get emitters ( ) . remove index ( row ) ; emitter table model . remove row ( row ) ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( editor . effect . get emitters ( ) . size == 1 ) return ; int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; if ( row <= edit index ) { int old edit index = edit index ; edit index = math . max ( 0 , edit index - 1 ) ; if ( old edit index == row ) editor . reload rows ( ) ; } editor . effect . get emitters ( ) . remove index ( row ) ; emitter table model . remove row ( row ) ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { if ( editor . effect . get emitters ( ) . size == 1 ) return ; int row = emitter table . get selected row ( ) ; if ( row == - 1 ) return ; if ( row <= edit index ) { int old edit index = edit index ; edit index = math . max ( 0 , edit index - 1 ) ; if ( old edit index == row ) editor . reload rows ( ) ; } editor . effect . get emitters ( ) . remove index ( row ) ; emitter table model . remove row ( row ) ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>


Original Name move

move

<SENTENCE_START> { if ( direction < 0 && edit index == 0 ) return ; array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( direction > 0 && edit index == emitters . size - 1 ) return ; int insert index = edit index + direction ; object name = emitter table model . get value at ( edit index , 0 ) ; emitter table model . remove row ( edit index ) ; particle emitter emitter = emitters . remove index ( edit index ) ; emitter table model . insert row ( insert index , new object [ ] { name } ) ; emitters . insert ( insert index , emitter ) ; edit index = insert index ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { if ( direction < 0 && edit index == 0 ) return ; array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( direction > 0 && edit index == emitters . size - 1 ) return ; int insert index = edit index + direction ; object name = emitter table model . get value at ( edit index , 0 ) ; emitter table model . remove row ( edit index ) ; particle emitter emitter = emitters . remove index ( edit index ) ; emitter table model . insert row ( insert index , new object [ ] { name } ) ; emitters . insert ( insert index , emitter ) ; edit index = insert index ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( direction < 0 && edit index == 0 ) return ; array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( direction > 0 && edit index == emitters . size - 1 ) return ; int insert index = edit index + direction ; object name = emitter table model . get value at ( edit index , 0 ) ; emitter table model . remove row ( edit index ) ; particle emitter emitter = emitters . remove index ( edit index ) ; emitter table model . insert row ( insert index , new object [ ] { name } ) ; emitters . insert ( insert index , emitter ) ; edit index = insert index ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>

(Copy Probability: 67.1%)

<SENTENCE_START> { if ( direction < 0 && edit index == 0 ) return ; array < particle emitter > emitters = editor . effect . get emitters ( ) ; if ( direction > 0 && edit index == emitters . size - 1 ) return ; int insert index = edit index + direction ; object name = emitter table model . get value at ( edit index , 0 ) ; emitter table model . remove row ( edit index ) ; particle emitter emitter = emitters . remove index ( edit index ) ; emitter table model . insert row ( insert index , new object [ ] { name } ) ; emitters . insert ( insert index , emitter ) ; edit index = insert index ; emitter table . get selection model ( ) . set selection interval ( edit index , edit index ) ; } <SENTENCE_END/>


Original Name emitter,checked

emitter

<SENTENCE_START> { editor . set enabled ( editor . effect . get emitters ( ) . get ( index ) , checked ) ; editor . effect . start ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { editor . set enabled ( editor . effect . get emitters ( ) . get ( index ) , checked ) ; editor . effect . start ( ) ; } <SENTENCE_END/>

checked

<SENTENCE_START> { editor . set enabled ( editor . effect . get emitters ( ) . get ( index ) , checked ) ; editor . effect . start ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { editor . set enabled ( editor . effect . get emitters ( ) . get ( index ) , checked ) ; editor . effect . start ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { editor . set enabled ( editor . effect . get emitters ( ) . get ( index ) , checked ) ; editor . effect . start ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { editor . set enabled ( editor . effect . get emitters ( ) . get ( index ) , checked ) ; editor . effect . start ( ) ; } <SENTENCE_END/>


Original Name initialize,components

initialize

<SENTENCE_START> { set layout ( new grid bag layout ( ) ) ; { j panel side buttons = new j panel ( new grid bag layout ( ) ) ; add ( side buttons , new grid bag constraints ( 1 , 0 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; { j button new button = new j button ( "New" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { new emitter ( "Untitled" , true ) ; } } ) ; } { j button new button = new j button ( "Duplicate" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { duplicate emitter ( ) ; } } ) ; } { j button delete button = new j button ( "Delete" ) ; side buttons . add ( delete button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; delete button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { delete emitter ( ) ; } } ) ; } { side buttons . add ( new j separator ( j separator . horizontal ) , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; } { j button save button = new j button ( "Save" ) ; side buttons . add ( save button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; save button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { save effect ( ) ; } } ) ; } { j button open button = new j button ( "Open" ) ; side buttons . add ( open button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; open button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { open effect ( ) ; } } ) ; } { j button up button = new j button ( "Up" ) ; side buttons . add ( up button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 1 , grid bag constraints . south , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; up button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( - 1 ) ; } } ) ; } { j button down button = new j button ( "Down" ) ; side buttons . add ( down button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; down button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( 1 ) ; } } ) ; } } { j scroll pane scroll = new j scroll pane ( ) ; add ( scroll , new grid bag constraints ( 0 , 0 , 1 , 1 , 1 , 1 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 6 ) , 0 , 0 ) ) ; { emitter table = new j table ( ) { public class get column class ( int column ) { return column == 1 ? boolean . class : super . get column class ( column ) ; } } ; emitter table . get table header ( ) . set reordering allowed ( false ) ; emitter table . set selection mode ( list selection model . single selection ) ; scroll . set viewport view ( emitter table ) ; emitter table model = new default table model ( new string [ 0 ] [ 0 ] , new string [ ] { "Emitter" , "" } ) ; emitter table . set model ( emitter table model ) ; emitter table . get selection model ( ) . add list selection listener ( new list selection listener ( ) { public void value changed ( list selection event event ) { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } } ) ; emitter table model . add table model listener ( new table model listener ( ) { public void table changed ( table model event event ) { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } } ) ; } } } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { set layout ( new grid bag layout ( ) ) ; { j panel side buttons = new j panel ( new grid bag layout ( ) ) ; add ( side buttons , new grid bag constraints ( 1 , 0 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; { j button new button = new j button ( "New" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { new emitter ( "Untitled" , true ) ; } } ) ; } { j button new button = new j button ( "Duplicate" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { duplicate emitter ( ) ; } } ) ; } { j button delete button = new j button ( "Delete" ) ; side buttons . add ( delete button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; delete button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { delete emitter ( ) ; } } ) ; } { side buttons . add ( new j separator ( j separator . horizontal ) , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; } { j button save button = new j button ( "Save" ) ; side buttons . add ( save button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; save button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { save effect ( ) ; } } ) ; } { j button open button = new j button ( "Open" ) ; side buttons . add ( open button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; open button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { open effect ( ) ; } } ) ; } { j button up button = new j button ( "Up" ) ; side buttons . add ( up button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 1 , grid bag constraints . south , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; up button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( - 1 ) ; } } ) ; } { j button down button = new j button ( "Down" ) ; side buttons . add ( down button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; down button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( 1 ) ; } } ) ; } } { j scroll pane scroll = new j scroll pane ( ) ; add ( scroll , new grid bag constraints ( 0 , 0 , 1 , 1 , 1 , 1 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 6 ) , 0 , 0 ) ) ; { emitter table = new j table ( ) { public class get column class ( int column ) { return column == 1 ? boolean . class : super . get column class ( column ) ; } } ; emitter table . get table header ( ) . set reordering allowed ( false ) ; emitter table . set selection mode ( list selection model . single selection ) ; scroll . set viewport view ( emitter table ) ; emitter table model = new default table model ( new string [ 0 ] [ 0 ] , new string [ ] { "Emitter" , "" } ) ; emitter table . set model ( emitter table model ) ; emitter table . get selection model ( ) . add list selection listener ( new list selection listener ( ) { public void value changed ( list selection event event ) { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } } ) ; emitter table model . add table model listener ( new table model listener ( ) { public void table changed ( table model event event ) { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } } ) ; } } } <SENTENCE_END/>

components

<SENTENCE_START> { set layout ( new grid bag layout ( ) ) ; { j panel side buttons = new j panel ( new grid bag layout ( ) ) ; add ( side buttons , new grid bag constraints ( 1 , 0 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; { j button new button = new j button ( "New" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { new emitter ( "Untitled" , true ) ; } } ) ; } { j button new button = new j button ( "Duplicate" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { duplicate emitter ( ) ; } } ) ; } { j button delete button = new j button ( "Delete" ) ; side buttons . add ( delete button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; delete button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { delete emitter ( ) ; } } ) ; } { side buttons . add ( new j separator ( j separator . horizontal ) , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; } { j button save button = new j button ( "Save" ) ; side buttons . add ( save button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; save button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { save effect ( ) ; } } ) ; } { j button open button = new j button ( "Open" ) ; side buttons . add ( open button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; open button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { open effect ( ) ; } } ) ; } { j button up button = new j button ( "Up" ) ; side buttons . add ( up button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 1 , grid bag constraints . south , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; up button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( - 1 ) ; } } ) ; } { j button down button = new j button ( "Down" ) ; side buttons . add ( down button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; down button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( 1 ) ; } } ) ; } } { j scroll pane scroll = new j scroll pane ( ) ; add ( scroll , new grid bag constraints ( 0 , 0 , 1 , 1 , 1 , 1 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 6 ) , 0 , 0 ) ) ; { emitter table = new j table ( ) { public class get column class ( int column ) { return column == 1 ? boolean . class : super . get column class ( column ) ; } } ; emitter table . get table header ( ) . set reordering allowed ( false ) ; emitter table . set selection mode ( list selection model . single selection ) ; scroll . set viewport view ( emitter table ) ; emitter table model = new default table model ( new string [ 0 ] [ 0 ] , new string [ ] { "Emitter" , "" } ) ; emitter table . set model ( emitter table model ) ; emitter table . get selection model ( ) . add list selection listener ( new list selection listener ( ) { public void value changed ( list selection event event ) { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } } ) ; emitter table model . add table model listener ( new table model listener ( ) { public void table changed ( table model event event ) { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } } ) ; } } } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { set layout ( new grid bag layout ( ) ) ; { j panel side buttons = new j panel ( new grid bag layout ( ) ) ; add ( side buttons , new grid bag constraints ( 1 , 0 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; { j button new button = new j button ( "New" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { new emitter ( "Untitled" , true ) ; } } ) ; } { j button new button = new j button ( "Duplicate" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { duplicate emitter ( ) ; } } ) ; } { j button delete button = new j button ( "Delete" ) ; side buttons . add ( delete button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; delete button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { delete emitter ( ) ; } } ) ; } { side buttons . add ( new j separator ( j separator . horizontal ) , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; } { j button save button = new j button ( "Save" ) ; side buttons . add ( save button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; save button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { save effect ( ) ; } } ) ; } { j button open button = new j button ( "Open" ) ; side buttons . add ( open button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; open button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { open effect ( ) ; } } ) ; } { j button up button = new j button ( "Up" ) ; side buttons . add ( up button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 1 , grid bag constraints . south , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; up button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( - 1 ) ; } } ) ; } { j button down button = new j button ( "Down" ) ; side buttons . add ( down button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; down button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( 1 ) ; } } ) ; } } { j scroll pane scroll = new j scroll pane ( ) ; add ( scroll , new grid bag constraints ( 0 , 0 , 1 , 1 , 1 , 1 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 6 ) , 0 , 0 ) ) ; { emitter table = new j table ( ) { public class get column class ( int column ) { return column == 1 ? boolean . class : super . get column class ( column ) ; } } ; emitter table . get table header ( ) . set reordering allowed ( false ) ; emitter table . set selection mode ( list selection model . single selection ) ; scroll . set viewport view ( emitter table ) ; emitter table model = new default table model ( new string [ 0 ] [ 0 ] , new string [ ] { "Emitter" , "" } ) ; emitter table . set model ( emitter table model ) ; emitter table . get selection model ( ) . add list selection listener ( new list selection listener ( ) { public void value changed ( list selection event event ) { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } } ) ; emitter table model . add table model listener ( new table model listener ( ) { public void table changed ( table model event event ) { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } } ) ; } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { set layout ( new grid bag layout ( ) ) ; { j panel side buttons = new j panel ( new grid bag layout ( ) ) ; add ( side buttons , new grid bag constraints ( 1 , 0 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; { j button new button = new j button ( "New" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { new emitter ( "Untitled" , true ) ; } } ) ; } { j button new button = new j button ( "Duplicate" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { duplicate emitter ( ) ; } } ) ; } { j button delete button = new j button ( "Delete" ) ; side buttons . add ( delete button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; delete button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { delete emitter ( ) ; } } ) ; } { side buttons . add ( new j separator ( j separator . horizontal ) , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; } { j button save button = new j button ( "Save" ) ; side buttons . add ( save button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; save button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { save effect ( ) ; } } ) ; } { j button open button = new j button ( "Open" ) ; side buttons . add ( open button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; open button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { open effect ( ) ; } } ) ; } { j button up button = new j button ( "Up" ) ; side buttons . add ( up button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 1 , grid bag constraints . south , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; up button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( - 1 ) ; } } ) ; } { j button down button = new j button ( "Down" ) ; side buttons . add ( down button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; down button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( 1 ) ; } } ) ; } } { j scroll pane scroll = new j scroll pane ( ) ; add ( scroll , new grid bag constraints ( 0 , 0 , 1 , 1 , 1 , 1 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 6 ) , 0 , 0 ) ) ; { emitter table = new j table ( ) { public class get column class ( int column ) { return column == 1 ? boolean . class : super . get column class ( column ) ; } } ; emitter table . get table header ( ) . set reordering allowed ( false ) ; emitter table . set selection mode ( list selection model . single selection ) ; scroll . set viewport view ( emitter table ) ; emitter table model = new default table model ( new string [ 0 ] [ 0 ] , new string [ ] { "Emitter" , "" } ) ; emitter table . set model ( emitter table model ) ; emitter table . get selection model ( ) . add list selection listener ( new list selection listener ( ) { public void value changed ( list selection event event ) { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } } ) ; emitter table model . add table model listener ( new table model listener ( ) { public void table changed ( table model event event ) { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } } ) ; } } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { set layout ( new grid bag layout ( ) ) ; { j panel side buttons = new j panel ( new grid bag layout ( ) ) ; add ( side buttons , new grid bag constraints ( 1 , 0 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; { j button new button = new j button ( "New" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { new emitter ( "Untitled" , true ) ; } } ) ; } { j button new button = new j button ( "Duplicate" ) ; side buttons . add ( new button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; new button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { duplicate emitter ( ) ; } } ) ; } { j button delete button = new j button ( "Delete" ) ; side buttons . add ( delete button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; delete button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { delete emitter ( ) ; } } ) ; } { side buttons . add ( new j separator ( j separator . horizontal ) , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; } { j button save button = new j button ( "Save" ) ; side buttons . add ( save button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; save button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { save effect ( ) ; } } ) ; } { j button open button = new j button ( "Open" ) ; side buttons . add ( open button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; open button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { open effect ( ) ; } } ) ; } { j button up button = new j button ( "Up" ) ; side buttons . add ( up button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 1 , grid bag constraints . south , grid bag constraints . horizontal , new insets ( 0 , 0 , 6 , 0 ) , 0 , 0 ) ) ; up button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( - 1 ) ; } } ) ; } { j button down button = new j button ( "Down" ) ; side buttons . add ( down button , new grid bag constraints ( 0 , - 1 , 1 , 1 , 0 , 0 , grid bag constraints . center , grid bag constraints . horizontal , new insets ( 0 , 0 , 0 , 0 ) , 0 , 0 ) ) ; down button . add action listener ( new action listener ( ) { public void action performed ( action event event ) { move ( 1 ) ; } } ) ; } } { j scroll pane scroll = new j scroll pane ( ) ; add ( scroll , new grid bag constraints ( 0 , 0 , 1 , 1 , 1 , 1 , grid bag constraints . center , grid bag constraints . both , new insets ( 0 , 0 , 0 , 6 ) , 0 , 0 ) ) ; { emitter table = new j table ( ) { public class get column class ( int column ) { return column == 1 ? boolean . class : super . get column class ( column ) ; } } ; emitter table . get table header ( ) . set reordering allowed ( false ) ; emitter table . set selection mode ( list selection model . single selection ) ; scroll . set viewport view ( emitter table ) ; emitter table model = new default table model ( new string [ 0 ] [ 0 ] , new string [ ] { "Emitter" , "" } ) ; emitter table . set model ( emitter table model ) ; emitter table . get selection model ( ) . add list selection listener ( new list selection listener ( ) { public void value changed ( list selection event event ) { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } } ) ; emitter table model . add table model listener ( new table model listener ( ) { public void table changed ( table model event event ) { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } } ) ; } } } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { new emitter ( "Untitled" , true ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { new emitter ( "Untitled" , true ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { new emitter ( "Untitled" , true ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { new emitter ( "Untitled" , true ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { new emitter ( "Untitled" , true ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { new emitter ( "Untitled" , true ) ; } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { duplicate emitter ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { duplicate emitter ( ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { duplicate emitter ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { duplicate emitter ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { duplicate emitter ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { duplicate emitter ( ) ; } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { delete emitter ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.5%)

<SENTENCE_START> { delete emitter ( ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { delete emitter ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { delete emitter ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { delete emitter ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { delete emitter ( ) ; } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { save effect ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { save effect ( ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { save effect ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { save effect ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { save effect ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { save effect ( ) ; } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { open effect ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { open effect ( ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { open effect ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { open effect ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { open effect ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { open effect ( ) ; } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { move ( - 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { move ( - 1 ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { move ( - 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { move ( - 1 ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { move ( - 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { move ( - 1 ) ; } <SENTENCE_END/>


Original Name action,performed

action

<SENTENCE_START> { move ( 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { move ( 1 ) ; } <SENTENCE_END/>

performed

<SENTENCE_START> { move ( 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { move ( 1 ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { move ( 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { move ( 1 ) ; } <SENTENCE_END/>


Original Name get,column,class

get

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

column

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

(Copy Probability: 48.0%)

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

class

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

(Copy Probability: 9.1%)

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return column == 1 ? boolean . class : super . %SELF% ( column ) ; } <SENTENCE_END/>


Original Name value,changed

value

<SENTENCE_START> { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } <SENTENCE_END/>

changed

<SENTENCE_START> { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { if ( event . get value is adjusting ( ) ) return ; emitter selected ( ) ; } <SENTENCE_END/>


Original Name table,changed

table

<SENTENCE_START> { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } <SENTENCE_END/>

changed

<SENTENCE_START> { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } <SENTENCE_END/>

(Copy Probability: 7.5%)

<SENTENCE_START> { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( event . get column ( ) != 1 ) return ; emitter checked ( event . get first row ( ) , ( boolean ) emitter table . get value at ( event . get first row ( ) , 1 ) ) ; } <SENTENCE_END/>


Original Name new,byte,buffer

new

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

byte

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 45.2%)

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 19.6%)

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 12.0%)

<SENTENCE_START> { return new read write heap byte buffer ( array ) ; } <SENTENCE_END/>


Original Name new,byte,buffer

new

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

byte

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 45.6%)

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 20.0%)

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 8.6%)

<SENTENCE_START> { return new read write heap byte buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,char,buffer

new

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

char

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 89.8%)

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 14.4%)

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 30.7%)

<SENTENCE_START> { return new read write char array buffer ( array ) ; } <SENTENCE_END/>


Original Name new,char,buffer

new

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

char

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

(Copy Probability: 92.5%)

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

(Copy Probability: 6.2%)

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>

(Copy Probability: 6.2%)

<SENTENCE_START> { return new char sequence adapter ( chseq ) ; } <SENTENCE_END/>


Original Name new,char,buffer

new

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

char

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 90.4%)

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 12.7%)

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 24.1%)

<SENTENCE_START> { return new read write char array buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,direct,byte,buffer

new

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

direct

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 39.2%)

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

byte

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 8.7%)

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 9.0%)

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 10.6%)

<SENTENCE_START> { return new direct read write byte buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,double,buffer

new

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

double

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 61.1%)

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 9.3%)

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 22.9%)

<SENTENCE_START> { return new read write double array buffer ( array ) ; } <SENTENCE_END/>


Original Name new,double,buffer

new

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

double

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 59.4%)

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 7.2%)

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 18.7%)

<SENTENCE_START> { return new read write double array buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,float,buffer

new

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

float

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 65.0%)

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 12.2%)

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 14.8%)

<SENTENCE_START> { return new read write float array buffer ( array ) ; } <SENTENCE_END/>


Original Name new,float,buffer

new

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

float

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 64.2%)

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 10.5%)

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 11.2%)

<SENTENCE_START> { return new read write float array buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,int,buffer

new

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

int

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 67.3%)

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 16.0%)

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 12.2%)

<SENTENCE_START> { return new read write int array buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,int,buffer

new

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

int

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 68.1%)

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 17.0%)

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 16.6%)

<SENTENCE_START> { return new read write int array buffer ( array ) ; } <SENTENCE_END/>


Original Name new,long,buffer

new

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

long

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 73.0%)

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 21.6%)

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 70.3%)

<SENTENCE_START> { return new read write long array buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,long,buffer

new

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

long

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 73.6%)

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 22.1%)

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 76.8%)

<SENTENCE_START> { return new read write long array buffer ( array ) ; } <SENTENCE_END/>


Original Name new,short,buffer

new

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

short

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 77.8%)

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 12.9%)

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>

(Copy Probability: 75.0%)

<SENTENCE_START> { return new read write short array buffer ( capacity ) ; } <SENTENCE_END/>


Original Name new,short,buffer

new

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

short

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 76.7%)

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

buffer

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 17.5%)

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>

(Copy Probability: 79.5%)

<SENTENCE_START> { return new read write short array buffer ( array ) ; } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>


Original Name is,trimesh

is

<SENTENCE_START> { return collision jni . bt primitive manager base is trimesh ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 4.2%)

<SENTENCE_START> { return collision jni . bt primitive manager base is trimesh ( swig c ptr , this ) ; } <SENTENCE_END/>

trimesh

<SENTENCE_START> { return collision jni . bt primitive manager base is trimesh ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 98.5%)

<SENTENCE_START> { return collision jni . bt primitive manager base is trimesh ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt primitive manager base is trimesh ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 27.3%)

<SENTENCE_START> { return collision jni . bt primitive manager base is trimesh ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name get,primitive,count

get

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

primitive

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.7%)

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

count

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return collision jni . bt primitive manager base get primitive count ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name get,primitive,box

get

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

primitive

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

(Copy Probability: 99.5%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

box

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>

(Copy Probability: 2.7%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive box ( swig c ptr , this , prim index , bt aabb . get c ptr ( primbox ) , primbox ) ; } <SENTENCE_END/>


Original Name get,primitive,triangle

get

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

primitive

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

triangle

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>

(Copy Probability: 3.7%)

<SENTENCE_START> { collision jni . bt primitive manager base get primitive triangle ( swig c ptr , this , prim index , bt primitive triangle . get c ptr ( triangle ) , triangle ) ; } <SENTENCE_END/>


Original Name path

path

<SENTENCE_START> { return file . get path ( ) . replace ( '|' , '/' ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return file . get path ( ) . replace ( '|' , '/' ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return file . get path ( ) . replace ( '|' , '/' ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return file . get path ( ) . replace ( '|' , '/' ) ; } <SENTENCE_END/>


Original Name name

name

<SENTENCE_START> { return file . get name ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return file . get name ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return file . get name ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return file . get name ( ) ; } <SENTENCE_END/>


Original Name extension

extension

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return "" ; return name . substring ( dot index + 1 ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return "" ; return name . substring ( dot index + 1 ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return "" ; return name . substring ( dot index + 1 ) ; } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return "" ; return name . substring ( dot index + 1 ) ; } <SENTENCE_END/>


Original Name name,without,extension

name

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

without

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

extension

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 5.0%)

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { string name = file . get name ( ) ; int dot index = name . last index of ( '.' ) ; if ( dot index == - 1 ) return name ; return name . substring ( 0 , dot index ) ; } <SENTENCE_END/>


Original Name path,without,extension

path

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

without

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

extension

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 3.3%)

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { string path = file . get path ( ) . replace ( '|' , '/' ) ; int dot index = path . last index of ( '.' ) ; if ( dot index == - 1 ) return path ; return path . substring ( 0 , dot index ) ; } <SENTENCE_END/>


Original Name type

type

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return %SELF% ; } <SENTENCE_END/>


Original Name file

file

<SENTENCE_START> { if ( type == file type . external ) return new file ( gdx . files . get external storage path ( ) , %SELF% . get path ( ) ) ; return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( type == file type . external ) return new file ( gdx . files . get external storage path ( ) , %SELF% . get path ( ) ) ; return %SELF% ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . external ) return new file ( gdx . files . get external storage path ( ) , %SELF% . get path ( ) ) ; return %SELF% ; } <SENTENCE_END/>

(Copy Probability: 4.3%)

<SENTENCE_START> { if ( type == file type . external ) return new file ( gdx . files . get external storage path ( ) , %SELF% . get path ( ) ) ; return %SELF% ; } <SENTENCE_END/>


Original Name read

read

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file ( ) . exists ( ) ) || ( type == file type . local && ! file ( ) . exists ( ) ) ) { input stream input = file handle . class . get resource as stream ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) ; if ( input == null ) throw new gdx runtime exception ( "File not found: " + file + " (" + type + ")" ) ; return input ; } try { return new file input stream ( file ( ) ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error reading file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file ( ) . exists ( ) ) || ( type == file type . local && ! file ( ) . exists ( ) ) ) { input stream input = file handle . class . get resource as stream ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) ; if ( input == null ) throw new gdx runtime exception ( "File not found: " + file + " (" + type + ")" ) ; return input ; } try { return new file input stream ( file ( ) ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error reading file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file ( ) . exists ( ) ) || ( type == file type . local && ! file ( ) . exists ( ) ) ) { input stream input = file handle . class . get resource as stream ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) ; if ( input == null ) throw new gdx runtime exception ( "File not found: " + file + " (" + type + ")" ) ; return input ; } try { return new file input stream ( file ( ) ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error reading file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 12.9%)

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file ( ) . exists ( ) ) || ( type == file type . local && ! file ( ) . exists ( ) ) ) { input stream input = file handle . class . get resource as stream ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) ; if ( input == null ) throw new gdx runtime exception ( "File not found: " + file + " (" + type + ")" ) ; return input ; } try { return new file input stream ( file ( ) ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error reading file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>


Original Name read

read

<SENTENCE_START> { return new buffered input stream ( %SELF% ( ) , buffer size ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return new buffered input stream ( %SELF% ( ) , buffer size ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new buffered input stream ( %SELF% ( ) , buffer size ) ; } <SENTENCE_END/>

(Copy Probability: 2.5%)

<SENTENCE_START> { return new buffered input stream ( %SELF% ( ) , buffer size ) ; } <SENTENCE_END/>


Original Name reader

reader

<SENTENCE_START> { return new input stream reader ( read ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return new input stream reader ( read ( ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new input stream reader ( read ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return new input stream reader ( read ( ) ) ; } <SENTENCE_END/>


Original Name reader

reader

<SENTENCE_START> { input stream stream = read ( ) ; try { return new input stream reader ( stream , charset ) ; } catch ( unsupported encoding exception ex ) { stream utils . close quietly ( stream ) ; throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { input stream stream = read ( ) ; try { return new input stream reader ( stream , charset ) ; } catch ( unsupported encoding exception ex ) { stream utils . close quietly ( stream ) ; throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { input stream stream = read ( ) ; try { return new input stream reader ( stream , charset ) ; } catch ( unsupported encoding exception ex ) { stream utils . close quietly ( stream ) ; throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { input stream stream = read ( ) ; try { return new input stream reader ( stream , charset ) ; } catch ( unsupported encoding exception ex ) { stream utils . close quietly ( stream ) ; throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>


Original Name reader

reader

<SENTENCE_START> { return new buffered reader ( new input stream reader ( read ( ) ) , buffer size ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return new buffered reader ( new input stream reader ( read ( ) ) , buffer size ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new buffered reader ( new input stream reader ( read ( ) ) , buffer size ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return new buffered reader ( new input stream reader ( read ( ) ) , buffer size ) ; } <SENTENCE_END/>


Original Name reader

reader

<SENTENCE_START> { try { return new buffered reader ( new input stream reader ( read ( ) , charset ) , buffer size ) ; } catch ( unsupported encoding exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { try { return new buffered reader ( new input stream reader ( read ( ) , charset ) , buffer size ) ; } catch ( unsupported encoding exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { try { return new buffered reader ( new input stream reader ( read ( ) , charset ) , buffer size ) ; } catch ( unsupported encoding exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { try { return new buffered reader ( new input stream reader ( read ( ) , charset ) , buffer size ) ; } catch ( unsupported encoding exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } } <SENTENCE_END/>


Original Name read,string

read

<SENTENCE_START> { return %SELF% ( null ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return %SELF% ( null ) ; } <SENTENCE_END/>

string

<SENTENCE_START> { return %SELF% ( null ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return %SELF% ( null ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ( null ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return %SELF% ( null ) ; } <SENTENCE_END/>


Original Name read,string

read

<SENTENCE_START> { string builder output = new string builder ( estimate length ( ) ) ; input stream reader reader = null ; try { if ( charset == null ) reader = new input stream reader ( read ( ) ) ; else reader = new input stream reader ( read ( ) , charset ) ; char [ ] buffer = new char [ 256 ] ; while ( true ) { int length = reader . read ( buffer ) ; if ( length == - 1 ) break ; output . append ( buffer , 0 , length ) ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading layout file: " + this , ex ) ; } finally { stream utils . close quietly ( reader ) ; } return output . to string ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { string builder output = new string builder ( estimate length ( ) ) ; input stream reader reader = null ; try { if ( charset == null ) reader = new input stream reader ( read ( ) ) ; else reader = new input stream reader ( read ( ) , charset ) ; char [ ] buffer = new char [ 256 ] ; while ( true ) { int length = reader . read ( buffer ) ; if ( length == - 1 ) break ; output . append ( buffer , 0 , length ) ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading layout file: " + this , ex ) ; } finally { stream utils . close quietly ( reader ) ; } return output . to string ( ) ; } <SENTENCE_END/>

string

<SENTENCE_START> { string builder output = new string builder ( estimate length ( ) ) ; input stream reader reader = null ; try { if ( charset == null ) reader = new input stream reader ( read ( ) ) ; else reader = new input stream reader ( read ( ) , charset ) ; char [ ] buffer = new char [ 256 ] ; while ( true ) { int length = reader . read ( buffer ) ; if ( length == - 1 ) break ; output . append ( buffer , 0 , length ) ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading layout file: " + this , ex ) ; } finally { stream utils . close quietly ( reader ) ; } return output . to string ( ) ; } <SENTENCE_END/>

(Copy Probability: 12.5%)

<SENTENCE_START> { string builder output = new string builder ( estimate length ( ) ) ; input stream reader reader = null ; try { if ( charset == null ) reader = new input stream reader ( read ( ) ) ; else reader = new input stream reader ( read ( ) , charset ) ; char [ ] buffer = new char [ 256 ] ; while ( true ) { int length = reader . read ( buffer ) ; if ( length == - 1 ) break ; output . append ( buffer , 0 , length ) ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading layout file: " + this , ex ) ; } finally { stream utils . close quietly ( reader ) ; } return output . to string ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { string builder output = new string builder ( estimate length ( ) ) ; input stream reader reader = null ; try { if ( charset == null ) reader = new input stream reader ( read ( ) ) ; else reader = new input stream reader ( read ( ) , charset ) ; char [ ] buffer = new char [ 256 ] ; while ( true ) { int length = reader . read ( buffer ) ; if ( length == - 1 ) break ; output . append ( buffer , 0 , length ) ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading layout file: " + this , ex ) ; } finally { stream utils . close quietly ( reader ) ; } return output . to string ( ) ; } <SENTENCE_END/>

(Copy Probability: 4.0%)

<SENTENCE_START> { string builder output = new string builder ( estimate length ( ) ) ; input stream reader reader = null ; try { if ( charset == null ) reader = new input stream reader ( read ( ) ) ; else reader = new input stream reader ( read ( ) , charset ) ; char [ ] buffer = new char [ 256 ] ; while ( true ) { int length = reader . read ( buffer ) ; if ( length == - 1 ) break ; output . append ( buffer , 0 , length ) ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading layout file: " + this , ex ) ; } finally { stream utils . close quietly ( reader ) ; } return output . to string ( ) ; } <SENTENCE_END/>


Original Name read,bytes

read

<SENTENCE_START> { input stream input = read ( ) ; try { return stream utils . copy stream to byte array ( input , estimate length ( ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { input stream input = read ( ) ; try { return stream utils . copy stream to byte array ( input , estimate length ( ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } } <SENTENCE_END/>

bytes

<SENTENCE_START> { input stream input = read ( ) ; try { return stream utils . copy stream to byte array ( input , estimate length ( ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } } <SENTENCE_END/>

(Copy Probability: 17.5%)

<SENTENCE_START> { input stream input = read ( ) ; try { return stream utils . copy stream to byte array ( input , estimate length ( ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { input stream input = read ( ) ; try { return stream utils . copy stream to byte array ( input , estimate length ( ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { input stream input = read ( ) ; try { return stream utils . copy stream to byte array ( input , estimate length ( ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } } <SENTENCE_END/>


Original Name estimate,length

estimate

<SENTENCE_START> { int length = ( int ) length ( ) ; return length != 0 ? length : 512 ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { int length = ( int ) length ( ) ; return length != 0 ? length : 512 ; } <SENTENCE_END/>

length

<SENTENCE_START> { int length = ( int ) length ( ) ; return length != 0 ? length : 512 ; } <SENTENCE_END/>

(Copy Probability: 3.0%)

<SENTENCE_START> { int length = ( int ) length ( ) ; return length != 0 ? length : 512 ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { int length = ( int ) length ( ) ; return length != 0 ? length : 512 ; } <SENTENCE_END/>

(Copy Probability: 2.9%)

<SENTENCE_START> { int length = ( int ) length ( ) ; return length != 0 ? length : 512 ; } <SENTENCE_END/>


Original Name read,bytes

read

<SENTENCE_START> { input stream input = read ( ) ; int position = 0 ; try { while ( true ) { int count = input . read ( bytes , offset + position , size - position ) ; if ( count <= 0 ) break ; position += count ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } return position - offset ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { input stream input = read ( ) ; int position = 0 ; try { while ( true ) { int count = input . read ( bytes , offset + position , size - position ) ; if ( count <= 0 ) break ; position += count ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } return position - offset ; } <SENTENCE_END/>

bytes

<SENTENCE_START> { input stream input = read ( ) ; int position = 0 ; try { while ( true ) { int count = input . read ( bytes , offset + position , size - position ) ; if ( count <= 0 ) break ; position += count ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } return position - offset ; } <SENTENCE_END/>

(Copy Probability: 7.3%)

<SENTENCE_START> { input stream input = read ( ) ; int position = 0 ; try { while ( true ) { int count = input . read ( bytes , offset + position , size - position ) ; if ( count <= 0 ) break ; position += count ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } return position - offset ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { input stream input = read ( ) ; int position = 0 ; try { while ( true ) { int count = input . read ( bytes , offset + position , size - position ) ; if ( count <= 0 ) break ; position += count ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } return position - offset ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { input stream input = read ( ) ; int position = 0 ; try { while ( true ) { int count = input . read ( bytes , offset + position , size - position ) ; if ( count <= 0 ) break ; position += count ; } } catch ( io exception ex ) { throw new gdx runtime exception ( "Error reading file: " + this , ex ) ; } finally { stream utils . close quietly ( input ) ; } return position - offset ; } <SENTENCE_END/>


Original Name write

write

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { return new file output stream ( file ( ) , append ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { return new file output stream ( file ( ) , append ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { return new file output stream ( file ( ) , append ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 18.2%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { return new file output stream ( file ( ) , append ) ; } catch ( exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>


Original Name write

write

<SENTENCE_START> { return new buffered output stream ( %SELF% ( append ) , buffer size ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return new buffered output stream ( %SELF% ( append ) , buffer size ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new buffered output stream ( %SELF% ( append ) , buffer size ) ; } <SENTENCE_END/>

(Copy Probability: 9.0%)

<SENTENCE_START> { return new buffered output stream ( %SELF% ( append ) , buffer size ) ; } <SENTENCE_END/>


Original Name write

write

<SENTENCE_START> { output stream output = null ; try { output = %SELF% ( append ) ; stream utils . copy stream ( input , output , 4096 ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error stream writing to file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( input ) ; stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { output stream output = null ; try { output = %SELF% ( append ) ; stream utils . copy stream ( input , output , 4096 ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error stream writing to file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( input ) ; stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { output stream output = null ; try { output = %SELF% ( append ) ; stream utils . copy stream ( input , output , 4096 ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error stream writing to file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( input ) ; stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 12.4%)

<SENTENCE_START> { output stream output = null ; try { output = %SELF% ( append ) ; stream utils . copy stream ( input , output , 4096 ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error stream writing to file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( input ) ; stream utils . close quietly ( output ) ; } } <SENTENCE_END/>


Original Name writer

writer

<SENTENCE_START> { return %SELF% ( append , null ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return %SELF% ( append , null ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return %SELF% ( append , null ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return %SELF% ( append , null ) ; } <SENTENCE_END/>


Original Name writer

writer

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { file output stream output = new file output stream ( file ( ) , append ) ; if ( charset == null ) return new output stream writer ( output ) ; else return new output stream writer ( output , charset ) ; } catch ( io exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { file output stream output = new file output stream ( file ( ) , append ) ; if ( charset == null ) return new output stream writer ( output ) ; else return new output stream writer ( output , charset ) ; } catch ( io exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { file output stream output = new file output stream ( file ( ) , append ) ; if ( charset == null ) return new output stream writer ( output ) ; else return new output stream writer ( output , charset ) ; } catch ( io exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot write to a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot write to an internal file: " + file ) ; parent ( ) . mkdirs ( ) ; try { file output stream output = new file output stream ( file ( ) , append ) ; if ( charset == null ) return new output stream writer ( output ) ; else return new output stream writer ( output , charset ) ; } catch ( io exception ex ) { if ( file ( ) . is directory ( ) ) throw new gdx runtime exception ( "Cannot open a stream to a directory: " + file + " (" + type + ")" , ex ) ; throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } } <SENTENCE_END/>


Original Name write,string

write

<SENTENCE_START> { %SELF% ( string , append , null ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { %SELF% ( string , append , null ) ; } <SENTENCE_END/>

string

<SENTENCE_START> { %SELF% ( string , append , null ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { %SELF% ( string , append , null ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% ( string , append , null ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { %SELF% ( string , append , null ) ; } <SENTENCE_END/>


Original Name write,string

write

<SENTENCE_START> { writer writer = null ; try { writer = writer ( append , charset ) ; writer . write ( string ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( writer ) ; } } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { writer writer = null ; try { writer = writer ( append , charset ) ; writer . write ( string ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( writer ) ; } } <SENTENCE_END/>

string

<SENTENCE_START> { writer writer = null ; try { writer = writer ( append , charset ) ; writer . write ( string ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( writer ) ; } } <SENTENCE_END/>

(Copy Probability: 5.4%)

<SENTENCE_START> { writer writer = null ; try { writer = writer ( append , charset ) ; writer . write ( string ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( writer ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { writer writer = null ; try { writer = writer ( append , charset ) ; writer . write ( string ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( writer ) ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { writer writer = null ; try { writer = writer ( append , charset ) ; writer . write ( string ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( writer ) ; } } <SENTENCE_END/>


Original Name write,bytes

write

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

bytes

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 28.0%)

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>


Original Name write,bytes

write

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes , offset , length ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes , offset , length ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

bytes

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes , offset , length ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 27.4%)

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes , offset , length ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes , offset , length ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { output stream output = write ( append ) ; try { output . write ( bytes , offset , length ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Error writing file: " + file + " (" + type + ")" , ex ) ; } finally { stream utils . close quietly ( output ) ; } } <SENTENCE_END/>


Original Name list

list

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) handles [ i ] = child ( relative paths [ i ] ) ; return handles ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) handles [ i ] = child ( relative paths [ i ] ) ; return handles ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) handles [ i ] = child ( relative paths [ i ] ) ; return handles ; } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) handles [ i ] = child ( relative paths [ i ] ) ; return handles ; } <SENTENCE_END/>


Original Name list

list

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; file handle child = child ( path ) ; if ( ! filter . accept ( child . file ( ) ) ) continue ; handles [ count ] = child ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; file handle child = child ( path ) ; if ( ! filter . accept ( child . file ( ) ) ) continue ; handles [ count ] = child ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; file handle child = child ( path ) ; if ( ! filter . accept ( child . file ( ) ) ) continue ; handles [ count ] = child ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

(Copy Probability: 2.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; file handle child = child ( path ) ; if ( ! filter . accept ( child . file ( ) ) ) continue ; handles [ count ] = child ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>


Original Name list

list

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! filter . accept ( file , path ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! filter . accept ( file , path ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! filter . accept ( file , path ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

(Copy Probability: 2.6%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; file file = file ( ) ; string [ ] relative paths = file . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! filter . accept ( file , path ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>


Original Name list

list

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! path . ends with ( suffix ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! path . ends with ( suffix ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! path . ends with ( suffix ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>

(Copy Probability: 2.6%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot list a classpath directory: " + file ) ; string [ ] relative paths = file ( ) . %SELF% ( ) ; if ( relative paths == null ) return new file handle [ 0 ] ; file handle [ ] handles = new file handle [ relative paths . length ] ; int count = 0 ; for ( int i = 0 , n = relative paths . length ; i < n ; i ++ ) { string path = relative paths [ i ] ; if ( ! path . ends with ( suffix ) ) continue ; handles [ count ] = child ( path ) ; count ++ ; } if ( count < relative paths . length ) { file handle [ ] new handles = new file handle [ count ] ; system . arraycopy ( handles , 0 , new handles , 0 , count ) ; handles = new handles ; } return handles ; } <SENTENCE_END/>


Original Name is,directory

is

<SENTENCE_START> { if ( type == file type . classpath ) return false ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( type == file type . classpath ) return false ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

directory

<SENTENCE_START> { if ( type == file type . classpath ) return false ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 3.0%)

<SENTENCE_START> { if ( type == file type . classpath ) return false ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) return false ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { if ( type == file type . classpath ) return false ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>


Original Name child

child

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) return new file handle ( new file ( name ) , type ) ; return new file handle ( new file ( file , name ) , type ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) return new file handle ( new file ( name ) , type ) ; return new file handle ( new file ( file , name ) , type ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) return new file handle ( new file ( name ) , type ) ; return new file handle ( new file ( file , name ) , type ) ; } <SENTENCE_END/>

(Copy Probability: 6.5%)

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) return new file handle ( new file ( name ) , type ) ; return new file handle ( new file ( file , name ) , type ) ; } <SENTENCE_END/>


Original Name sibling

sibling

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) throw new gdx runtime exception ( "Cannot get the sibling of the root." ) ; return new file handle ( new file ( file . get parent ( ) , name ) , type ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) throw new gdx runtime exception ( "Cannot get the sibling of the root." ) ; return new file handle ( new file ( file . get parent ( ) , name ) , type ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) throw new gdx runtime exception ( "Cannot get the sibling of the root." ) ; return new file handle ( new file ( file . get parent ( ) , name ) , type ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { if ( file . get path ( ) . length ( ) == 0 ) throw new gdx runtime exception ( "Cannot get the sibling of the root." ) ; return new file handle ( new file ( file . get parent ( ) , name ) , type ) ; } <SENTENCE_END/>


Original Name parent

parent

<SENTENCE_START> { file %SELF% = file . get parent file ( ) ; if ( %SELF% == null ) { if ( type == file type . absolute ) %SELF% = new file ( "/" ) ; else %SELF% = new file ( "" ) ; } return new file handle ( %SELF% , type ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { file %SELF% = file . get parent file ( ) ; if ( %SELF% == null ) { if ( type == file type . absolute ) %SELF% = new file ( "/" ) ; else %SELF% = new file ( "" ) ; } return new file handle ( %SELF% , type ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { file %SELF% = file . get parent file ( ) ; if ( %SELF% == null ) { if ( type == file type . absolute ) %SELF% = new file ( "/" ) ; else %SELF% = new file ( "" ) ; } return new file handle ( %SELF% , type ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { file %SELF% = file . get parent file ( ) ; if ( %SELF% == null ) { if ( type == file type . absolute ) %SELF% = new file ( "/" ) ; else %SELF% = new file ( "" ) ; } return new file handle ( %SELF% , type ) ; } <SENTENCE_END/>


Original Name mkdirs

mkdirs

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot mkdirs with a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot mkdirs with an internal file: " + file ) ; file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot mkdirs with a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot mkdirs with an internal file: " + file ) ; file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot mkdirs with a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot mkdirs with an internal file: " + file ) ; file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot mkdirs with a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot mkdirs with an internal file: " + file ) ; file ( ) . %SELF% ( ) ; } <SENTENCE_END/>


Original Name exists

exists

<SENTENCE_START> { switch ( type ) { case internal : if ( file ( ) . %SELF% ( ) ) return true ; case classpath : return file handle . class . get resource ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) != null ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { switch ( type ) { case internal : if ( file ( ) . %SELF% ( ) ) return true ; case classpath : return file handle . class . get resource ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) != null ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { switch ( type ) { case internal : if ( file ( ) . %SELF% ( ) ) return true ; case classpath : return file handle . class . get resource ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) != null ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { switch ( type ) { case internal : if ( file ( ) . %SELF% ( ) ) return true ; case classpath : return file handle . class . get resource ( "/" + file . get path ( ) . replace ( '|' , '/' ) ) != null ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>


Original Name delete

delete

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>


Original Name delete,directory

delete

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return %SELF% ( file ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return %SELF% ( file ( ) ) ; } <SENTENCE_END/>

directory

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return %SELF% ( file ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return %SELF% ( file ( ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return %SELF% ( file ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; return %SELF% ( file ( ) ) ; } <SENTENCE_END/>


Original Name empty,directory

empty

<SENTENCE_START> { %SELF% ( false ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { %SELF% ( false ) ; } <SENTENCE_END/>

directory

<SENTENCE_START> { %SELF% ( false ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { %SELF% ( false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { %SELF% ( false ) ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { %SELF% ( false ) ; } <SENTENCE_END/>


Original Name empty,directory

empty

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; %SELF% ( file ( ) , preserve tree ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; %SELF% ( file ( ) , preserve tree ) ; } <SENTENCE_END/>

directory

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; %SELF% ( file ( ) , preserve tree ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; %SELF% ( file ( ) , preserve tree ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; %SELF% ( file ( ) , preserve tree ) ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot delete a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot delete an internal file: " + file ) ; %SELF% ( file ( ) , preserve tree ) ; } <SENTENCE_END/>


Original Name copy,to

copy

<SENTENCE_START> { boolean source dir = is directory ( ) ; if ( ! source dir ) { if ( dest . is directory ( ) ) dest = dest . child ( name ( ) ) ; copy file ( this , dest ) ; return ; } if ( dest . exists ( ) ) { if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination exists but is not a directory: " + dest ) ; } else { dest . mkdirs ( ) ; if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination directory cannot be created: " + dest ) ; } if ( ! source dir ) dest = dest . child ( name ( ) ) ; copy directory ( this , dest ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { boolean source dir = is directory ( ) ; if ( ! source dir ) { if ( dest . is directory ( ) ) dest = dest . child ( name ( ) ) ; copy file ( this , dest ) ; return ; } if ( dest . exists ( ) ) { if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination exists but is not a directory: " + dest ) ; } else { dest . mkdirs ( ) ; if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination directory cannot be created: " + dest ) ; } if ( ! source dir ) dest = dest . child ( name ( ) ) ; copy directory ( this , dest ) ; } <SENTENCE_END/>

to

<SENTENCE_START> { boolean source dir = is directory ( ) ; if ( ! source dir ) { if ( dest . is directory ( ) ) dest = dest . child ( name ( ) ) ; copy file ( this , dest ) ; return ; } if ( dest . exists ( ) ) { if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination exists but is not a directory: " + dest ) ; } else { dest . mkdirs ( ) ; if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination directory cannot be created: " + dest ) ; } if ( ! source dir ) dest = dest . child ( name ( ) ) ; copy directory ( this , dest ) ; } <SENTENCE_END/>

(Copy Probability: 5.8%)

<SENTENCE_START> { boolean source dir = is directory ( ) ; if ( ! source dir ) { if ( dest . is directory ( ) ) dest = dest . child ( name ( ) ) ; copy file ( this , dest ) ; return ; } if ( dest . exists ( ) ) { if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination exists but is not a directory: " + dest ) ; } else { dest . mkdirs ( ) ; if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination directory cannot be created: " + dest ) ; } if ( ! source dir ) dest = dest . child ( name ( ) ) ; copy directory ( this , dest ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { boolean source dir = is directory ( ) ; if ( ! source dir ) { if ( dest . is directory ( ) ) dest = dest . child ( name ( ) ) ; copy file ( this , dest ) ; return ; } if ( dest . exists ( ) ) { if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination exists but is not a directory: " + dest ) ; } else { dest . mkdirs ( ) ; if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination directory cannot be created: " + dest ) ; } if ( ! source dir ) dest = dest . child ( name ( ) ) ; copy directory ( this , dest ) ; } <SENTENCE_END/>

(Copy Probability: 46.6%)

<SENTENCE_START> { boolean source dir = is directory ( ) ; if ( ! source dir ) { if ( dest . is directory ( ) ) dest = dest . child ( name ( ) ) ; copy file ( this , dest ) ; return ; } if ( dest . exists ( ) ) { if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination exists but is not a directory: " + dest ) ; } else { dest . mkdirs ( ) ; if ( ! dest . is directory ( ) ) throw new gdx runtime exception ( "Destination directory cannot be created: " + dest ) ; } if ( ! source dir ) dest = dest . child ( name ( ) ) ; copy directory ( this , dest ) ; } <SENTENCE_END/>


Original Name move,to

move

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot move a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot move an internal file: " + file ) ; copy to ( dest ) ; delete ( ) ; if ( exists ( ) && is directory ( ) ) delete directory ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot move a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot move an internal file: " + file ) ; copy to ( dest ) ; delete ( ) ; if ( exists ( ) && is directory ( ) ) delete directory ( ) ; } <SENTENCE_END/>

to

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot move a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot move an internal file: " + file ) ; copy to ( dest ) ; delete ( ) ; if ( exists ( ) && is directory ( ) ) delete directory ( ) ; } <SENTENCE_END/>

(Copy Probability: 18.9%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot move a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot move an internal file: " + file ) ; copy to ( dest ) ; delete ( ) ; if ( exists ( ) && is directory ( ) ) delete directory ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot move a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot move an internal file: " + file ) ; copy to ( dest ) ; delete ( ) ; if ( exists ( ) && is directory ( ) ) delete directory ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { if ( type == file type . classpath ) throw new gdx runtime exception ( "Cannot move a classpath file: " + file ) ; if ( type == file type . internal ) throw new gdx runtime exception ( "Cannot move an internal file: " + file ) ; copy to ( dest ) ; delete ( ) ; if ( exists ( ) && is directory ( ) ) delete directory ( ) ; } <SENTENCE_END/>


Original Name length

length

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file . exists ( ) ) ) { input stream input = read ( ) ; try { return input . available ( ) ; } catch ( exception ignored ) { } finally { stream utils . close quietly ( input ) ; } return 0 ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file . exists ( ) ) ) { input stream input = read ( ) ; try { return input . available ( ) ; } catch ( exception ignored ) { } finally { stream utils . close quietly ( input ) ; } return 0 ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file . exists ( ) ) ) { input stream input = read ( ) ; try { return input . available ( ) ; } catch ( exception ignored ) { } finally { stream utils . close quietly ( input ) ; } return 0 ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 3.8%)

<SENTENCE_START> { if ( type == file type . classpath || ( type == file type . internal && ! file . exists ( ) ) ) { input stream input = read ( ) ; try { return input . available ( ) ; } catch ( exception ignored ) { } finally { stream utils . close quietly ( input ) ; } return 0 ; } return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>


Original Name last,modified

last

<SENTENCE_START> { return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

modified

<SENTENCE_START> { return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return file ( ) . %SELF% ( ) ; } <SENTENCE_END/>


Original Name temp,file

temp

<SENTENCE_START> { try { return new file handle ( file . create temp file ( prefix , null ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { try { return new file handle ( file . create temp file ( prefix , null ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

file

<SENTENCE_START> { try { return new file handle ( file . create temp file ( prefix , null ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 12.9%)

<SENTENCE_START> { try { return new file handle ( file . create temp file ( prefix , null ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { try { return new file handle ( file . create temp file ( prefix , null ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 3.9%)

<SENTENCE_START> { try { return new file handle ( file . create temp file ( prefix , null ) ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>


Original Name temp,directory

temp

<SENTENCE_START> { try { file file = file . create temp file ( prefix , null ) ; if ( ! file . delete ( ) ) throw new io exception ( "Unable to delete temp file: " + file ) ; if ( ! file . mkdir ( ) ) throw new io exception ( "Unable to create temp directory: " + file ) ; return new file handle ( file ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { try { file file = file . create temp file ( prefix , null ) ; if ( ! file . delete ( ) ) throw new io exception ( "Unable to delete temp file: " + file ) ; if ( ! file . mkdir ( ) ) throw new io exception ( "Unable to create temp directory: " + file ) ; return new file handle ( file ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

directory

<SENTENCE_START> { try { file file = file . create temp file ( prefix , null ) ; if ( ! file . delete ( ) ) throw new io exception ( "Unable to delete temp file: " + file ) ; if ( ! file . mkdir ( ) ) throw new io exception ( "Unable to create temp directory: " + file ) ; return new file handle ( file ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 9.0%)

<SENTENCE_START> { try { file file = file . create temp file ( prefix , null ) ; if ( ! file . delete ( ) ) throw new io exception ( "Unable to delete temp file: " + file ) ; if ( ! file . mkdir ( ) ) throw new io exception ( "Unable to create temp directory: " + file ) ; return new file handle ( file ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { try { file file = file . create temp file ( prefix , null ) ; if ( ! file . delete ( ) ) throw new io exception ( "Unable to delete temp file: " + file ) ; if ( ! file . mkdir ( ) ) throw new io exception ( "Unable to create temp directory: " + file ) ; return new file handle ( file ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { try { file file = file . create temp file ( prefix , null ) ; if ( ! file . delete ( ) ) throw new io exception ( "Unable to delete temp file: " + file ) ; if ( ! file . mkdir ( ) ) throw new io exception ( "Unable to create temp directory: " + file ) ; return new file handle ( file ) ; } catch ( io exception ex ) { throw new gdx runtime exception ( "Unable to create temp file." , ex ) ; } } <SENTENCE_END/>


Original Name empty,directory

empty

<SENTENCE_START> { if ( file . exists ( ) ) { file [ ] files = file . list files ( ) ; if ( files != null ) { for ( int i = 0 , n = files . length ; i < n ; i ++ ) { if ( ! files [ i ] . is directory ( ) ) files [ i ] . delete ( ) ; else if ( preserve tree ) %SELF% ( files [ i ] , true ) ; else delete directory ( files [ i ] ) ; } } } } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { if ( file . exists ( ) ) { file [ ] files = file . list files ( ) ; if ( files != null ) { for ( int i = 0 , n = files . length ; i < n ; i ++ ) { if ( ! files [ i ] . is directory ( ) ) files [ i ] . delete ( ) ; else if ( preserve tree ) %SELF% ( files [ i ] , true ) ; else delete directory ( files [ i ] ) ; } } } } <SENTENCE_END/>

directory

<SENTENCE_START> { if ( file . exists ( ) ) { file [ ] files = file . list files ( ) ; if ( files != null ) { for ( int i = 0 , n = files . length ; i < n ; i ++ ) { if ( ! files [ i ] . is directory ( ) ) files [ i ] . delete ( ) ; else if ( preserve tree ) %SELF% ( files [ i ] , true ) ; else delete directory ( files [ i ] ) ; } } } } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { if ( file . exists ( ) ) { file [ ] files = file . list files ( ) ; if ( files != null ) { for ( int i = 0 , n = files . length ; i < n ; i ++ ) { if ( ! files [ i ] . is directory ( ) ) files [ i ] . delete ( ) ; else if ( preserve tree ) %SELF% ( files [ i ] , true ) ; else delete directory ( files [ i ] ) ; } } } } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( file . exists ( ) ) { file [ ] files = file . list files ( ) ; if ( files != null ) { for ( int i = 0 , n = files . length ; i < n ; i ++ ) { if ( ! files [ i ] . is directory ( ) ) files [ i ] . delete ( ) ; else if ( preserve tree ) %SELF% ( files [ i ] , true ) ; else delete directory ( files [ i ] ) ; } } } } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { if ( file . exists ( ) ) { file [ ] files = file . list files ( ) ; if ( files != null ) { for ( int i = 0 , n = files . length ; i < n ; i ++ ) { if ( ! files [ i ] . is directory ( ) ) files [ i ] . delete ( ) ; else if ( preserve tree ) %SELF% ( files [ i ] , true ) ; else delete directory ( files [ i ] ) ; } } } } <SENTENCE_END/>


Original Name delete,directory

delete

<SENTENCE_START> { empty directory ( file , false ) ; return file . delete ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { empty directory ( file , false ) ; return file . delete ( ) ; } <SENTENCE_END/>

directory

<SENTENCE_START> { empty directory ( file , false ) ; return file . delete ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { empty directory ( file , false ) ; return file . delete ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { empty directory ( file , false ) ; return file . delete ( ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { empty directory ( file , false ) ; return file . delete ( ) ; } <SENTENCE_END/>


Original Name copy,file

copy

<SENTENCE_START> { try { dest . write ( source . read ( ) , false ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error copying source file: " + source . file + " (" + source . type + ") " + "To destination: " + dest . file + " (" + dest . type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { try { dest . write ( source . read ( ) , false ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error copying source file: " + source . file + " (" + source . type + ") " + "To destination: " + dest . file + " (" + dest . type + ")" , ex ) ; } } <SENTENCE_END/>

file

<SENTENCE_START> { try { dest . write ( source . read ( ) , false ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error copying source file: " + source . file + " (" + source . type + ") " + "To destination: " + dest . file + " (" + dest . type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { try { dest . write ( source . read ( ) , false ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error copying source file: " + source . file + " (" + source . type + ") " + "To destination: " + dest . file + " (" + dest . type + ")" , ex ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { try { dest . write ( source . read ( ) , false ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error copying source file: " + source . file + " (" + source . type + ") " + "To destination: " + dest . file + " (" + dest . type + ")" , ex ) ; } } <SENTENCE_END/>

(Copy Probability: 6.9%)

<SENTENCE_START> { try { dest . write ( source . read ( ) , false ) ; } catch ( exception ex ) { throw new gdx runtime exception ( "Error copying source file: " + source . file + " (" + source . type + ") " + "To destination: " + dest . file + " (" + dest . type + ")" , ex ) ; } } <SENTENCE_END/>


Original Name copy,directory

copy

<SENTENCE_START> { dest dir . mkdirs ( ) ; file handle [ ] files = source dir . list ( ) ; for ( int i = 0 , n = files . length ; i < n ; i ++ ) { file handle src file = files [ i ] ; file handle dest file = dest dir . child ( src file . name ( ) ) ; if ( src file . is directory ( ) ) %SELF% ( src file , dest file ) ; else copy file ( src file , dest file ) ; } } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { dest dir . mkdirs ( ) ; file handle [ ] files = source dir . list ( ) ; for ( int i = 0 , n = files . length ; i < n ; i ++ ) { file handle src file = files [ i ] ; file handle dest file = dest dir . child ( src file . name ( ) ) ; if ( src file . is directory ( ) ) %SELF% ( src file , dest file ) ; else copy file ( src file , dest file ) ; } } <SENTENCE_END/>

directory

<SENTENCE_START> { dest dir . mkdirs ( ) ; file handle [ ] files = source dir . list ( ) ; for ( int i = 0 , n = files . length ; i < n ; i ++ ) { file handle src file = files [ i ] ; file handle dest file = dest dir . child ( src file . name ( ) ) ; if ( src file . is directory ( ) ) %SELF% ( src file , dest file ) ; else copy file ( src file , dest file ) ; } } <SENTENCE_END/>

(Copy Probability: 6.3%)

<SENTENCE_START> { dest dir . mkdirs ( ) ; file handle [ ] files = source dir . list ( ) ; for ( int i = 0 , n = files . length ; i < n ; i ++ ) { file handle src file = files [ i ] ; file handle dest file = dest dir . child ( src file . name ( ) ) ; if ( src file . is directory ( ) ) %SELF% ( src file , dest file ) ; else copy file ( src file , dest file ) ; } } <SENTENCE_END/>

%END%

<SENTENCE_START> { dest dir . mkdirs ( ) ; file handle [ ] files = source dir . list ( ) ; for ( int i = 0 , n = files . length ; i < n ; i ++ ) { file handle src file = files [ i ] ; file handle dest file = dest dir . child ( src file . name ( ) ) ; if ( src file . is directory ( ) ) %SELF% ( src file , dest file ) ; else copy file ( src file , dest file ) ; } } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { dest dir . mkdirs ( ) ; file handle [ ] files = source dir . list ( ) ; for ( int i = 0 , n = files . length ; i < n ; i ++ ) { file handle src file = files [ i ] ; file handle dest file = dest dir . child ( src file . name ( ) ) ; if ( src file . is directory ( ) ) %SELF% ( src file , dest file ) ; else copy file ( src file , dest file ) ; } } <SENTENCE_END/>


Original Name add,source

add

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

source

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

(Copy Probability: 36.4%)

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

(Copy Probability: 22.6%)

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>


Original Name drag,start

drag

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

start

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 3.1%)

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>


Original Name drag

drag

<SENTENCE_START> { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . %SELF% ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . %SELF% ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . %SELF% ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } <SENTENCE_END/>

(Copy Probability: 1.7%)

<SENTENCE_START> { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; is valid target = target . %SELF% ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } <SENTENCE_END/>


Original Name drag,stop

drag

<SENTENCE_START> { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . %SELF% ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . %SELF% ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } <SENTENCE_END/>

stop

<SENTENCE_START> { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . %SELF% ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . %SELF% ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . %SELF% ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } <SENTENCE_END/>

(Copy Probability: 9.1%)

<SENTENCE_START> { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . %SELF% ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } <SENTENCE_END/>


Original Name remove,source

remove

<SENTENCE_START> { drag listener drag listener = source listeners . remove ( source ) ; source . actor . remove capture listener ( drag listener ) ; } <SENTENCE_END/>

(Copy Probability: 3.3%)

<SENTENCE_START> { drag listener drag listener = source listeners . remove ( source ) ; source . actor . remove capture listener ( drag listener ) ; } <SENTENCE_END/>

source

<SENTENCE_START> { drag listener drag listener = source listeners . remove ( source ) ; source . actor . remove capture listener ( drag listener ) ; } <SENTENCE_END/>

(Copy Probability: 73.1%)

<SENTENCE_START> { drag listener drag listener = source listeners . remove ( source ) ; source . actor . remove capture listener ( drag listener ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { drag listener drag listener = source listeners . remove ( source ) ; source . actor . remove capture listener ( drag listener ) ; } <SENTENCE_END/>

(Copy Probability: 17.1%)

<SENTENCE_START> { drag listener drag listener = source listeners . remove ( source ) ; source . actor . remove capture listener ( drag listener ) ; } <SENTENCE_END/>


Original Name add,target

add

<SENTENCE_START> { targets . add ( target ) ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { targets . add ( target ) ; } <SENTENCE_END/>

target

<SENTENCE_START> { targets . add ( target ) ; } <SENTENCE_END/>

(Copy Probability: 9.8%)

<SENTENCE_START> { targets . add ( target ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { targets . add ( target ) ; } <SENTENCE_END/>

(Copy Probability: 5.3%)

<SENTENCE_START> { targets . add ( target ) ; } <SENTENCE_END/>


Original Name remove,target

remove

<SENTENCE_START> { targets . remove value ( target , true ) ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { targets . remove value ( target , true ) ; } <SENTENCE_END/>

target

<SENTENCE_START> { targets . remove value ( target , true ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { targets . remove value ( target , true ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { targets . remove value ( target , true ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { targets . remove value ( target , true ) ; } <SENTENCE_END/>


Original Name clear

clear

<SENTENCE_START> { targets . %SELF% ( ) ; for ( entry < source , drag listener > entry : source listeners . entries ( ) ) entry . key . actor . remove capture listener ( entry . value ) ; source listeners . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { targets . %SELF% ( ) ; for ( entry < source , drag listener > entry : source listeners . entries ( ) ) entry . key . actor . remove capture listener ( entry . value ) ; source listeners . %SELF% ( ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { targets . %SELF% ( ) ; for ( entry < source , drag listener > entry : source listeners . entries ( ) ) entry . key . actor . remove capture listener ( entry . value ) ; source listeners . %SELF% ( ) ; } <SENTENCE_END/>

(Copy Probability: 8.2%)

<SENTENCE_START> { targets . %SELF% ( ) ; for ( entry < source , drag listener > entry : source listeners . entries ( ) ) entry . key . actor . remove capture listener ( entry . value ) ; source listeners . %SELF% ( ) ; } <SENTENCE_END/>


Original Name set,tap,square,size

set

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

tap

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

(Copy Probability: 96.2%)

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

square

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

(Copy Probability: 99.6%)

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

size

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

(Copy Probability: 81.7%)

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { tap square size = half tap square size ; } <SENTENCE_END/>


Original Name set,button

set

<SENTENCE_START> { this . button = button ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . button = button ; } <SENTENCE_END/>

button

<SENTENCE_START> { this . button = button ; } <SENTENCE_END/>

(Copy Probability: 78.9%)

<SENTENCE_START> { this . button = button ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . button = button ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { this . button = button ; } <SENTENCE_END/>


Original Name set,drag,actor,position

set

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

drag

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

(Copy Probability: 99.0%)

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

actor

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

(Copy Probability: 60.3%)

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

position

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

(Copy Probability: 5.7%)

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { this . drag actor x = drag actor x ; this . drag actor y = drag actor y ; } <SENTENCE_END/>


Original Name set,touch,offset

set

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

touch

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

(Copy Probability: 94.0%)

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

offset

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

(Copy Probability: 85.8%)

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>

(Copy Probability: 4.8%)

<SENTENCE_START> { this . touch offset x = touch offset x ; this . touch offset y = touch offset y ; } <SENTENCE_END/>


Original Name is,dragging

is

<SENTENCE_START> { return payload != null ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { return payload != null ; } <SENTENCE_END/>

dragging

<SENTENCE_START> { return payload != null ; } <SENTENCE_END/>

(Copy Probability: 4.4%)

<SENTENCE_START> { return payload != null ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return payload != null ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return payload != null ; } <SENTENCE_END/>


Original Name get,drag,actor

get

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 98.2%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 62.7%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>


Original Name set,drag,time

set

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

(Copy Probability: 1.0%)

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

drag

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

(Copy Probability: 99.1%)

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

time

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

(Copy Probability: 71.7%)

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>

(Copy Probability: 6.4%)

<SENTENCE_START> { this . drag time = drag millis ; } <SENTENCE_END/>


Original Name set,cancel,touch,focus

set

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

cancel

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

touch

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

(Copy Probability: 99.7%)

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

focus

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

(Copy Probability: 93.0%)

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>

(Copy Probability: 4.2%)

<SENTENCE_START> { this . cancel touch focus = cancel touch focus ; } <SENTENCE_END/>


Original Name set,keep,within,stage

set

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

keep

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

(Copy Probability: 77.0%)

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

within

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

(Copy Probability: 12.5%)

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

stage

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

(Copy Probability: 84.5%)

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>

(Copy Probability: 83.9%)

<SENTENCE_START> { this . keep within stage = keep within stage ; } <SENTENCE_END/>


Original Name drag,stop

drag

<SENTENCE_START> { } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { } <SENTENCE_END/>

stop

<SENTENCE_START> { } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { } <SENTENCE_END/>

%END%

<SENTENCE_START> { } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { } <SENTENCE_END/>


Original Name get,actor

get

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

(Copy Probability: 89.6%)

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { return actor ; } <SENTENCE_END/>


Original Name reset

reset

<SENTENCE_START> { } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { } <SENTENCE_END/>

%END%

<SENTENCE_START> { } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { } <SENTENCE_END/>


Original Name get,actor

get

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

(Copy Probability: 89.6%)

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return actor ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { return actor ; } <SENTENCE_END/>


Original Name set,drag,actor

set

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

(Copy Probability: 99.5%)

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

(Copy Probability: 64.5%)

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { this . drag actor = drag actor ; } <SENTENCE_END/>


Original Name get,drag,actor

get

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 0.3%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 98.2%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 62.7%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>

(Copy Probability: 2.2%)

<SENTENCE_START> { return drag actor ; } <SENTENCE_END/>


Original Name set,valid,drag,actor

set

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

valid

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 98.3%)

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 98.0%)

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 1.9%)

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 4.9%)

<SENTENCE_START> { this . valid drag actor = valid drag actor ; } <SENTENCE_END/>


Original Name get,valid,drag,actor

get

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 0.8%)

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

valid

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 97.4%)

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 98.3%)

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { return valid drag actor ; } <SENTENCE_END/>


Original Name set,invalid,drag,actor

set

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

invalid

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 98.5%)

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 30.0%)

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 1.4%)

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { this . invalid drag actor = invalid drag actor ; } <SENTENCE_END/>


Original Name get,invalid,drag,actor

get

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

invalid

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 97.4%)

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

drag

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 44.3%)

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

actor

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>

(Copy Probability: 4.6%)

<SENTENCE_START> { return invalid drag actor ; } <SENTENCE_END/>


Original Name get,object

get

<SENTENCE_START> { return object ; } <SENTENCE_END/>

(Copy Probability: 0.2%)

<SENTENCE_START> { return object ; } <SENTENCE_END/>

object

<SENTENCE_START> { return object ; } <SENTENCE_END/>

(Copy Probability: 67.4%)

<SENTENCE_START> { return object ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return object ; } <SENTENCE_END/>

(Copy Probability: 3.0%)

<SENTENCE_START> { return object ; } <SENTENCE_END/>


Original Name set,object

set

<SENTENCE_START> { this . object = object ; } <SENTENCE_END/>

(Copy Probability: 0.1%)

<SENTENCE_START> { this . object = object ; } <SENTENCE_END/>

object

<SENTENCE_START> { this . object = object ; } <SENTENCE_END/>

(Copy Probability: 82.6%)

<SENTENCE_START> { this . object = object ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { this . object = object ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { this . object = object ; } <SENTENCE_END/>


Original Name get,c,ptr

get

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.5%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

c

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 97.7%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>

(Copy Probability: 0.0%)

<SENTENCE_START> { return ( obj == null ) ? 0 : obj . swig c ptr ; } <SENTENCE_END/>